SPIGOT-6414: Use ASM9 API to add support for sealed classes
This commit is contained in:
parent
221aed6cf5
commit
c85efa8767
@ -128,7 +128,7 @@ public class Commodore
|
||||
ClassReader cr = new ClassReader( b );
|
||||
ClassWriter cw = new ClassWriter( cr, 0 );
|
||||
|
||||
cr.accept( new ClassVisitor( Opcodes.ASM8, cw )
|
||||
cr.accept( new ClassVisitor( Opcodes.ASM9, cw )
|
||||
{
|
||||
@Override
|
||||
public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
|
||||
|
Loading…
x
Reference in New Issue
Block a user