diff --git a/README.md b/README.md index ea18bf9..f490d61 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ja-netfilter 2022.2.0 +# ja-netfilter 2025.3.0 ### A Java Instrumentation Framework @@ -10,12 +10,6 @@ * some apps support the `JVM Options file`, you can add as a line of the `JVM Options file`. * **WARNING: DO NOT put some unnecessary whitespace characters!** * or execute `java -jar /path/to/ja-netfilter.jar` to use `attach mode`. -* for **Java 17** you have to add at least these `JVM Options`: - - ``` - --add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED - --add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED - ``` * edit your plugin config files: `${lower plugin name}.conf` file in the `config` dir where `ja-netfilter.jar` is located. * the `config`, `logs` and `plugins` directories can be specified through **the javaagent args**. diff --git a/pom.xml b/pom.xml index c910fa8..90054d8 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.ja-netfilter ja-netfilter - 2022.2.0 + 2025.3.0 ja-netfilter A Java Instrumentation Framework @@ -165,6 +165,21 @@ + + org.ow2.asm + asm + 9.9 + + + org.ow2.asm + asm-tree + 9.9 + + + org.ow2.asm + asm-commons + 9.9 + com.sun tools diff --git a/src/main/java/com/janetfilter/core/Launcher.java b/src/main/java/com/janetfilter/core/Launcher.java index fa8405d..cb8e8f7 100644 --- a/src/main/java/com/janetfilter/core/Launcher.java +++ b/src/main/java/com/janetfilter/core/Launcher.java @@ -12,8 +12,8 @@ import java.util.jar.JarFile; public class Launcher { public static final String ATTACH_ARG = "--attach"; - public static final String VERSION = "2022.2.0"; - public static final int VERSION_NUMBER = 202201000; + public static final String VERSION = "2025.3.0"; + public static final int VERSION_NUMBER = 202503000; private static boolean loaded = false;