SKIP_FRAMES зачем то пихнул, это как пихнуть SKIP_CODE.

This commit is contained in:
Zaxar163 2018-12-06 15:31:20 +03:00 committed by Gravit
parent 2f56328780
commit 2a9e1258b5

View file

@ -31,7 +31,7 @@ public NodeTransformer() {
public byte[] transform(byte[] input, String classname, JARLauncherBinary data) {
ClassReader cr = new ClassReader(input);
ClassNode cn = new ClassNode();
cr.accept(cn, ClassReader.SKIP_FRAMES | ClassReader.SKIP_DEBUG);
cr.accept(cn, ClassReader.SKIP_DEBUG);
for (ClassNodeTransformer tr : transLst) tr.transform(cn, classname, data);
ClassWriter cw = new SafeClassWriter(data.reader, ClassWriter.COMPUTE_MAXS);
cn.accept(cw);