Fix loading for individual .class files

This commit is contained in:
afffsdd 2016-05-17 17:29:25 -04:00
parent 45c8bb4aac
commit cf5c21b63c

View file

@ -689,7 +689,7 @@ public class BytecodeViewer {
final ClassNode cn = JarUtils.getNode(bytes); final ClassNode cn = JarUtils.getNode(bytes);
FileContainer container = new FileContainer(f); FileContainer container = new FileContainer(f);
container.files.put(fn, bytes); container.files.put(cn.name + ".class", bytes);
container.add(cn); container.add(cn);
BytecodeViewer.files.add(container); BytecodeViewer.files.add(container);
} else { } else {