SPIGOT-4398: Set ASM7_EXPERIMENTAL flag

This commit is contained in:
md_5 2018-09-27 20:54:14 +10:00
parent 4824655c89
commit 5ee1c18a4b

View file

@ -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)