mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-11 15:57:42 +00:00
ASM5
This commit is contained in:
1 parent
96e917dad1
commit
c8df05ad7a
3 files changed
+3
-3
No files matched your search
@@ -101,7 +101,7 @@ public class DelegatedTransformer implements IClassTransformer
|
||||
private static void defineDependancies(byte[] bytes, JarFile jar, File jarFile, Stack<String> depStack) throws Exception
|
||||
{
|
||||
ClassReader reader = new ClassReader(bytes);
|
||||
DependancyLister lister = new DependancyLister(Opcodes.ASM4);
|
||||
DependancyLister lister = new DependancyLister(Opcodes.ASM5);
|
||||
reader.accept(lister, 0);
|
||||
|
||||
depStack.push(reader.getClassName());
|
||||
|
||||
@@ -76,7 +76,7 @@ public class DependancyLister extends ClassVisitor
|
||||
public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
|
||||
{
|
||||
dependDesc(desc);
|
||||
return new DependancyMethodLister(Opcodes.ASM4);
|
||||
return new DependancyMethodLister(Opcodes.ASM5);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -22,7 +22,7 @@ public class MethodASMifier extends ClassVisitor
|
||||
Printer asmifier;
|
||||
|
||||
public MethodASMifier(ObfMapping method, Printer printer, PrintWriter printWriter) {
|
||||
super(ASM4);
|
||||
super(ASM5);
|
||||
this.method = method;
|
||||
this.printWriter = printWriter;
|
||||
asmifier = printer;
|
||||
|
||||
Reference in new issue
Block a user