8302491: NoClassDefFoundError omits the original cause of an error

Reviewed-by: coleenp, dholmes
This commit is contained in:
Ilarion Nakonechnyy 2023-03-13 17:26:25 +00:00 committed by Coleen Phillimore
parent 671a45219f
commit 5685107579
3 changed files with 48 additions and 40 deletions

View file

@ -616,7 +616,7 @@ class java_lang_Throwable: AllStatic {
static void get_stack_trace_elements(int depth, Handle backtrace, objArrayHandle stack_trace, TRAPS);
// For recreating class initialization error exceptions.
static Handle get_cause_with_stack_trace(Handle throwable, TRAPS);
static Handle create_initialization_error(JavaThread* current, Handle throwable);
// Printing
static void print(oop throwable, outputStream* st);