From 7fab8259c448aa3185bab27e7bc813bc3512b8a3 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Sat, 13 Mar 2021 10:42:05 +0700 Subject: Upgrade to ASM 9.1, delete obsolete ASM binaries Keep only ASM 2.0 binary because it is still used in UnweavableTest which uses an old ASM API, e.g. with a ClassWriter constructor which no longer exists. Also add JarJar 1.3 library because it is needed by an Ant task in lib/asm/build.xml. Signed-off-by: Alexander Kriegisch --- weaver/src/main/java/org/aspectj/weaver/bcel/asm/StackMapAdder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'weaver/src') diff --git a/weaver/src/main/java/org/aspectj/weaver/bcel/asm/StackMapAdder.java b/weaver/src/main/java/org/aspectj/weaver/bcel/asm/StackMapAdder.java index 9be8f80de..1de90f888 100644 --- a/weaver/src/main/java/org/aspectj/weaver/bcel/asm/StackMapAdder.java +++ b/weaver/src/main/java/org/aspectj/weaver/bcel/asm/StackMapAdder.java @@ -56,7 +56,7 @@ public class StackMapAdder { private static class AspectJClassVisitor extends ClassVisitor { public AspectJClassVisitor(ClassVisitor classwriter) { - super(Opcodes.ASM8, classwriter); + super(Opcodes.ASM9, classwriter); } @Override @@ -69,7 +69,7 @@ public class StackMapAdder { // created by a ClassWriter (see top level class comment) static class AJMethodVisitor extends MethodVisitor { public AJMethodVisitor(MethodVisitor mv) { - super(Opcodes.ASM8,mv); + super(Opcodes.ASM9,mv); } } -- cgit v1.2.3