8048190: NoClassDefFoundError omits original ExceptionInInitializerError

Reviewed-by: dholmes, iklam
This commit is contained in:
Coleen Phillimore 2021-08-12 13:45:36 +00:00
parent 7e14c3cc11
commit 464e874a5c
9 changed files with 255 additions and 13 deletions

View file

@ -563,6 +563,10 @@ class java_lang_Throwable: AllStatic {
static void fill_in_stack_trace(Handle throwable, const methodHandle& method = methodHandle());
// Programmatic access to stack trace
static void get_stack_trace_elements(Handle throwable, objArrayHandle stack_trace, TRAPS);
// For recreating class initialization error exceptions.
static Handle get_cause_with_stack_trace(Handle throwable, TRAPS);
// Printing
static void print(oop throwable, outputStream* st);
static void print_stack_trace(Handle throwable, outputStream* st);