RFR(M): 8199852: Print more information about class loaders in LinkageErrors.

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Wed Mar 21 11:55:49 UTC 2018


ClassLoaders have a field containing a name since Java 9.

This change improves some of the messages of LinkageErrors to 
print the name of the loader involved, as well as the parent of the loader.
This simplifies tracking down the component causing an error in large
Java systems.  

Please review:

I ran this through all our tests (jck, jtreg, spec etc).  I will run it through submit-hs
(or jdk/submit) once it's reviewed.

Best regards,

More information about the hotspot-runtime-dev mailing list