hg: jdk-updates/jdk11u: 8212937: Parent class loader may not have a referred ClassLoaderData instance when obtained in Klass::class_in_module_of_loader

sgehwolf at redhat.com sgehwolf at redhat.com
Fri Nov 30 11:02:10 UTC 2018


Changeset: 8687668b33da
Author:    sgehwolf
Date:      2018-11-07 13:54 -0500
URL:       http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/8687668b33da

8212937: Parent class loader may not have a referred ClassLoaderData instance when obtained in Klass::class_in_module_of_loader
Summary: Fix to obtain the class loader's name from the java.lang.ClassLoader object instead of its ClassLoaderData.
Reviewed-by: coleenp, lfoltan

! src/hotspot/share/classfile/javaClasses.cpp
! src/hotspot/share/oops/klass.cpp
+ test/hotspot/jtreg/runtime/LoaderConstraints/duplicateParentLE/ParentClassLoader.java
+ test/hotspot/jtreg/runtime/LoaderConstraints/duplicateParentLE/PreemptingChildClassLoader.java
+ test/hotspot/jtreg/runtime/LoaderConstraints/duplicateParentLE/Test.java



More information about the jdk-updates-changes mailing list