mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8161121: VM::isSystemDomainLoader should consider platform class loader
Reviewed-by: alanb
This commit is contained in:
parent
ec8ed521b7
commit
2cb9e39fc9
7 changed files with 13 additions and 18 deletions
|
@ -2476,7 +2476,7 @@ return mh1;
|
|||
return false;
|
||||
}
|
||||
ClassLoader loader = defc.getClassLoader();
|
||||
if (!jdk.internal.misc.VM.isSystemDomainLoader(loader)) {
|
||||
if (loader != null) {
|
||||
ClassLoader sysl = ClassLoader.getSystemClassLoader();
|
||||
boolean found = false;
|
||||
while (sysl != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue