mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-6414: Use ASM9 API to add support for sealed classes
By: md_5 <git@md-5.net>
This commit is contained in:
parent
0601c47be5
commit
07037838f1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue