8338693: assert(Atomic::add(&ik->_shared_class_load_count, 1) == 1) failed: shared class loaded more than once
Reviewed-by: iklam, dholmes
This commit is contained in:
parent
d555f072b2
commit
3bb8de3145
@ -1149,10 +1149,12 @@ InstanceKlass* SystemDictionary::load_shared_class(InstanceKlass* ik,
|
||||
Symbol* class_name = ik->name();
|
||||
|
||||
if (!is_shared_class_visible(class_name, ik, pkg_entry, class_loader)) {
|
||||
ik->set_shared_loading_failed();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (!check_shared_class_super_types(ik, class_loader, protection_domain, THREAD)) {
|
||||
ik->set_shared_loading_failed();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user