mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 09:04:41 +02:00
8258408: SystemDictionary passes TRAPS to functions that don't throw exceptions
Reviewed-by: dholmes, lfoltan
This commit is contained in:
parent
9ed0b76403
commit
6e824b3f51
8 changed files with 137 additions and 170 deletions
|
@ -139,7 +139,7 @@ void LambdaFormInvokers::reload_class(char* name, ClassFileStream& st, TRAPS) {
|
|||
|
||||
{
|
||||
MutexLocker mu_r(THREAD, Compile_lock); // add_to_hierarchy asserts this.
|
||||
SystemDictionary::add_to_hierarchy(result, THREAD);
|
||||
SystemDictionary::add_to_hierarchy(result);
|
||||
}
|
||||
// new class not linked yet.
|
||||
MetaspaceShared::try_link_class(result, THREAD);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue