diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/ASMifierGenerator.java b/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/ASMifierGenerator.java index 85b51fa7..c30598a0 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/ASMifierGenerator.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/ASMifierGenerator.java @@ -54,7 +54,10 @@ public class ASMifierGenerator extends AbstractDecompiler try { + //create writer StringWriter writer = new StringWriter(); + + //initialize ASMifier & parse class-file cn.accept(new TraceClassVisitor(null, new ASMifier(), new PrintWriter(writer))); //handle simulated errors