ThrowException .-.
This commit is contained in:
parent
45d0aa66e5
commit
6b03cab14d
4 changed files with 14 additions and 5 deletions
|
@ -422,7 +422,7 @@ impl JavaLangThrowable {
|
|||
let sourcefile = class_file.sourcefile()?;
|
||||
let sourcefile_string = match sourcefile {
|
||||
Some(string) => jvm.heap_area.make_handmade_string(string, &jvm.class_store),
|
||||
None => jvm.heap_area.static_area.get(&String::from("StackTraceElement"), &String::from("UNKNOWN_SOURCE"), AbstractTypeDescription::class_type("java/lang/String")).unwrap().expect_reference(),
|
||||
None => jvm.heap_area.static_area.get(&String::from("java/lang/StackTraceElement"), &String::from("UNKNOWN_SOURCE"), AbstractTypeDescription::class_type("java/lang/String")).unwrap().expect_reference(),
|
||||
};
|
||||
|
||||
jvm.heap_area.object_area.set_object_field(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue