mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8264126: Remove TRAPS/THREAD parameter for class loading functions
Reviewed-by: ccheung, iklam, dholmes
This commit is contained in:
parent
f3eed05236
commit
507b690f88
11 changed files with 54 additions and 58 deletions
|
@ -984,7 +984,7 @@ bool InstanceKlass::link_class_impl(TRAPS) {
|
|||
// 1) the class is loaded by custom class loader or
|
||||
// 2) the class is loaded by built-in class loader but failed to add archived loader constraints
|
||||
bool need_init_table = true;
|
||||
if (is_shared() && SystemDictionaryShared::check_linking_constraints(this, THREAD)) {
|
||||
if (is_shared() && SystemDictionaryShared::check_linking_constraints(THREAD, this)) {
|
||||
need_init_table = false;
|
||||
}
|
||||
if (need_init_table) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue