summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-09-27 20:54:14 +1000
committermd_5 <git@md-5.net>2018-09-27 20:54:14 +1000
commit5ee1c18a4bfc72721568bee384b7f8161a515f00 (patch)
treef25393ff11c094b1187f6a39a880f02af7d8cfb7
parent4824655c8972cc9b6dbfb152767e33aa90628d33 (diff)
downloadcraftbukkit-5ee1c18a4bfc72721568bee384b7f8161a515f00.tar
craftbukkit-5ee1c18a4bfc72721568bee384b7f8161a515f00.tar.gz
craftbukkit-5ee1c18a4bfc72721568bee384b7f8161a515f00.tar.lz
craftbukkit-5ee1c18a4bfc72721568bee384b7f8161a515f00.tar.xz
craftbukkit-5ee1c18a4bfc72721568bee384b7f8161a515f00.zip
SPIGOT-4398: Set ASM7_EXPERIMENTAL flag
-rw-r--r--src/main/java/org/bukkit/craftbukkit/util/Commodore.java2
1 files changed, 1 insertions, 1 deletions
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)