Fix loading for individual .class files
This commit is contained in:
parent
45c8bb4aac
commit
cf5c21b63c
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue