diff --git a/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/ConstructorTransformerMethodVisitor.java b/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/ConstructorTransformerMethodVisitor.java index ace1110..9bd76dd 100644 --- a/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/ConstructorTransformerMethodVisitor.java +++ b/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/ConstructorTransformerMethodVisitor.java @@ -20,7 +20,7 @@ public class ConstructorTransformerMethodVisitor extends MethodNode { private MethodVisitor next; public ConstructorTransformerMethodVisitor(MethodVisitor next, final int access, final String name, final String desc, final String signature, final String[] exceptions, String className) { - super(Opcodes.ASM7, access, name, desc, signature, exceptions); + super(Opcodes.ASM9, access, name, desc, signature, exceptions); this.next = next; this.className = className; } diff --git a/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/ScopeExtractorMethodVisitor.java b/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/ScopeExtractorMethodVisitor.java index 7a4f2b1..b62db3d 100644 --- a/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/ScopeExtractorMethodVisitor.java +++ b/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/ScopeExtractorMethodVisitor.java @@ -45,7 +45,7 @@ public class ScopeExtractorMethodVisitor extends MethodNode { private Map> varAccesses; ScopeExtractorMethodVisitor(StateTrackingMethodVisitor next, final int access, final String name, final String desc, final String signature, final String[] exceptions) { - super(Opcodes.ASM7, access, name, desc, signature, exceptions); + super(Opcodes.ASM9, access, name, desc, signature, exceptions); this.next = next; lineNumberToFirstOccurrenceOfVariables = new HashMap<>(); varAccesses = new HashMap<>(); diff --git a/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/StateTrackingClassVisitor.java b/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/StateTrackingClassVisitor.java index 1ce9c74..270234f 100644 --- a/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/StateTrackingClassVisitor.java +++ b/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/StateTrackingClassVisitor.java @@ -25,7 +25,7 @@ public class StateTrackingClassVisitor extends ClassVisitor { private InstrumentationActions instrumentationActions; public StateTrackingClassVisitor(ClassVisitor cv, InstrumentationActions instrumentationActions) { - super(Opcodes.ASM7, cv); + super(Opcodes.ASM9, cv); this.instrumentationActions = instrumentationActions; } diff --git a/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/StateTrackingMethodVisitor.java b/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/StateTrackingMethodVisitor.java index c6da635..43c38e8 100644 --- a/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/StateTrackingMethodVisitor.java +++ b/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/StateTrackingMethodVisitor.java @@ -46,7 +46,7 @@ public class StateTrackingMethodVisitor extends MethodVisitor { StateTrackingMethodVisitor(MethodVisitor mv, InstrumentationActions instrumentationActions, String className, String methodName, String desc) { - super(Opcodes.ASM7, mv); + super(Opcodes.ASM9, mv); this.logger = new Logger(instrumentationActions.verboseLogging); diff --git a/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/param/DiscoveryClassVisitor.java b/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/param/DiscoveryClassVisitor.java index 16eec90..a0c8271 100644 --- a/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/param/DiscoveryClassVisitor.java +++ b/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/param/DiscoveryClassVisitor.java @@ -27,7 +27,7 @@ public class DiscoveryClassVisitor extends ClassVisitor { public DiscoveryClassVisitor(Configuration configuration) { - super(Opcodes.ASM7); + super(Opcodes.ASM9); this.configuration = configuration; this.transformationParameters = new InstrumentationActions.Builder(); } diff --git a/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/param/DiscoveryMethodVisitor.java b/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/param/DiscoveryMethodVisitor.java index 9928272..368126f 100644 --- a/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/param/DiscoveryMethodVisitor.java +++ b/scott/src/main/java/hu/advancedweb/scott/instrumentation/transformation/param/DiscoveryMethodVisitor.java @@ -31,7 +31,7 @@ public class DiscoveryMethodVisitor extends MethodVisitor { DiscoveryMethodVisitor(MethodVisitor mv, InstrumentationActions.Builder instrumentationActions, Configuration configuration, String name, String desc, String signature, List classAnnotationFqns) { - super(Opcodes.ASM7, mv); + super(Opcodes.ASM9, mv); this.instrumentationActions = instrumentationActions; this.configuration = configuration; this.methodName = name;