diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java b/src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java index 9872e781..879af25b 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java @@ -689,7 +689,7 @@ public class BytecodeViewer { final ClassNode cn = JarUtils.getNode(bytes); FileContainer container = new FileContainer(f); - container.files.put(fn, bytes); + container.files.put(cn.name + ".class", bytes); container.add(cn); BytecodeViewer.files.add(container); } else {