From 5ee1c18a4bfc72721568bee384b7f8161a515f00 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 27 Sep 2018 20:54:14 +1000 Subject: SPIGOT-4398: Set ASM7_EXPERIMENTAL flag --- src/main/java/org/bukkit/craftbukkit/util/Commodore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/util/Commodore.java b/src/main/java/org/bukkit/craftbukkit/util/Commodore.java index d172a1ae..6674943e 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/Commodore.java +++ b/src/main/java/org/bukkit/craftbukkit/util/Commodore.java @@ -127,7 +127,7 @@ public class Commodore ClassReader cr = new ClassReader( b ); ClassWriter cw = new ClassWriter( cr, 0 ); - cr.accept( new ClassVisitor( Opcodes.ASM6, cw ) + cr.accept( new ClassVisitor( Opcodes.ASM7_EXPERIMENTAL, cw ) { @Override public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) -- cgit v1.2.3