Constant pool fix
This commit is contained in:
parent
b751fc3588
commit
c1eca63f5a
2 changed files with 134 additions and 54 deletions
|
@ -4,7 +4,7 @@ mod classfile;
|
|||
mod bytecode;
|
||||
|
||||
fn main() {
|
||||
let class_file = classfile::JavaClassFile::new(&mut File::open("class/HashMap.class").unwrap()).unwrap();
|
||||
let class_file = classfile::JavaClassFile::new(&mut File::open("class/Enumerator$EnumeratorIterator.class").unwrap()).unwrap();
|
||||
|
||||
println!("{:#?}", class_file);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue