diff --git a/agent/src/main/java/org/jboss/byteman/agent/adapter/BMJSRInliner.java b/agent/src/main/java/org/jboss/byteman/agent/adapter/BMJSRInliner.java index fd24681a..ce7f6a70 100644 --- a/agent/src/main/java/org/jboss/byteman/agent/adapter/BMJSRInliner.java +++ b/agent/src/main/java/org/jboss/byteman/agent/adapter/BMJSRInliner.java @@ -35,7 +35,7 @@ public class BMJSRInliner extends ClassVisitor { public BMJSRInliner(ClassVisitor cv) { - super(Opcodes.ASM7, cv); + super(Opcodes.ASM9, cv); } @Override diff --git a/agent/src/main/java/org/jboss/byteman/agent/adapter/BMLocalScopeAdapter.java b/agent/src/main/java/org/jboss/byteman/agent/adapter/BMLocalScopeAdapter.java index 60d15d0f..e0ff22ab 100644 --- a/agent/src/main/java/org/jboss/byteman/agent/adapter/BMLocalScopeAdapter.java +++ b/agent/src/main/java/org/jboss/byteman/agent/adapter/BMLocalScopeAdapter.java @@ -34,7 +34,7 @@ public class BMLocalScopeAdapter extends ClassVisitor { public BMLocalScopeAdapter(ClassVisitor cv) { - super(OpcodesHelper.ASM7, cv); + super(OpcodesHelper.ASM9, cv); } @Override diff --git a/agent/src/main/java/org/jboss/byteman/agent/adapter/RuleAdapter.java b/agent/src/main/java/org/jboss/byteman/agent/adapter/RuleAdapter.java index 8ffc7186..c37755ed 100644 --- a/agent/src/main/java/org/jboss/byteman/agent/adapter/RuleAdapter.java +++ b/agent/src/main/java/org/jboss/byteman/agent/adapter/RuleAdapter.java @@ -34,7 +34,7 @@ public class RuleAdapter extends ClassVisitor { protected RuleAdapter(ClassVisitor cv, TransformContext transformContext) { - super(Opcodes.ASM7, cv); + super(Opcodes.ASM9, cv); this.transformContext = transformContext; } diff --git a/agent/src/main/java/org/jboss/byteman/agent/check/ClassStructureAdapter.java b/agent/src/main/java/org/jboss/byteman/agent/check/ClassStructureAdapter.java index 53fecb7c..2477990d 100644 --- a/agent/src/main/java/org/jboss/byteman/agent/check/ClassStructureAdapter.java +++ b/agent/src/main/java/org/jboss/byteman/agent/check/ClassStructureAdapter.java @@ -38,7 +38,7 @@ public class ClassStructureAdapter extends ClassVisitor { private String superName = null; private String outerClass = null; - public ClassStructureAdapter() { super(Opcodes.ASM7); } + public ClassStructureAdapter() { super(Opcodes.ASM9); } public boolean isInterface() { return isInterface; diff --git a/pom.xml b/pom.xml index b4ef319e..2ea7ce9b 100644 --- a/pom.xml +++ b/pom.xml @@ -106,7 +106,7 @@ -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 -Dorg.jboss.byteman.verbose - 7.3.1 + 9.0-beta