mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8261532: Archived superinterface class cannot be accessed
Reviewed-by: minqi, iklam
This commit is contained in:
parent
109af7b5cb
commit
02fbcb52b8
6 changed files with 183 additions and 3 deletions
|
@ -1677,7 +1677,7 @@ InstanceKlass* SystemDictionaryShared::prepare_shared_lambda_proxy_class(Instanc
|
|||
InstanceKlass* caller_ik, TRAPS) {
|
||||
Handle class_loader(THREAD, caller_ik->class_loader());
|
||||
Handle protection_domain;
|
||||
PackageEntry* pkg_entry = get_package_entry_from_class(caller_ik, class_loader);
|
||||
PackageEntry* pkg_entry = caller_ik->package();
|
||||
if (caller_ik->class_loader() != NULL) {
|
||||
protection_domain = SystemDictionaryShared::init_security_info(class_loader, caller_ik, pkg_entry, CHECK_NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue