8316132: CDSProtectionDomain::get_shared_protection_domain should check for exception
Reviewed-by: dholmes, iklam
This commit is contained in:
parent
2182c93689
commit
11394828b3
@ -241,7 +241,7 @@ Handle CDSProtectionDomain::get_shared_protection_domain(Handle class_loader,
|
||||
TRAPS) {
|
||||
Handle protection_domain;
|
||||
if (shared_protection_domain(shared_path_index) == nullptr) {
|
||||
Handle pd = get_protection_domain_from_classloader(class_loader, url, THREAD);
|
||||
Handle pd = get_protection_domain_from_classloader(class_loader, url, CHECK_NH);
|
||||
atomic_set_shared_protection_domain(shared_path_index, pd());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user