RFR: 8323740: java.lang.ExceptionInInitializerError when trying to load XML classes in wrong order

Liam Miller-Cushon cushon at openjdk.org
Wed Dec 18 15:54:35 UTC 2024


On Wed, 18 Dec 2024 07:54:05 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> No objection to the change but is this only an issue when something is reflectively load java.xml internal classes? Can it arise when using just the exported/supported API?

I don't know a way to reproduce it using the supported API, the context where I saw this was code that was trying to reflectively initialize a list of classes as a warmup optimization.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22803#issuecomment-2551684620


More information about the core-libs-dev mailing list