[11u] RFR: 8212937: Parent class loader may not have a referred ClassLoaderData instance when obtained in Klass::class_in_module_of_loader
sgehwolf at redhat.com
Thu Nov 15 19:09:38 UTC 2018
Please review this 11u backport for JDK-8212937. While the JDK 12 patch
applies cleanly it doesn't quite do the right thing. The JDK 12 test
would still crash the JVM due to the lack of the changes in
src/hotspot/share/classfile/javaClasses.cpp as describe_external is
being used in JDK 11. That function has been removed with JDK-
8205611 in JDK 12.
In addition, the exception messages aren't the same between JDK 12 and
JDK 11, so Test.java needed an update to account for that. Also due to
lack of JDK-8205611 in JDK 11. Everything else is the same as for
Testing: Added regression test, internal test.
More information about the hotspot-dev