mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8208172: SIGSEGV when owner of invokedynamic bootstrap method throws an exception - Symbol::increment_refcount()+0x0
Table for resolution errors always expect non-null message string. Reviewed-by: dholmes, iklam
This commit is contained in:
parent
ce61e39060
commit
b1ce2c0fe8
6 changed files with 180 additions and 7 deletions
|
@ -477,7 +477,6 @@ bool ConstantPoolCacheEntry::save_and_throw_indy_exc(
|
|||
|
||||
Symbol* error = PENDING_EXCEPTION->klass()->name();
|
||||
Symbol* message = java_lang_Throwable::detail_message(PENDING_EXCEPTION);
|
||||
assert(message != NULL, "Missing detail message");
|
||||
|
||||
SystemDictionary::add_resolution_error(cpool, index, error, message);
|
||||
set_indy_resolution_failed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue