On Thu, 5 Dec 2024 21:41:28 GMT, Brent Christian <bchri...@openjdk.org> wrote:
> `XmlReaderContentHandler.endElement()` routes a `Class.forName()` call > through `ReflectUtil.forName()`. When > `sun.reflect.misc.ReflectUtil.forName()` calls the 1-arg `Class.forName()`, > it is doing so from `java.base`, and so using the boot loader. > > Changing `XmlReaderContentHandler` to use the 3-arg `Class.forName()` method > with a null classloader should yield equivalent behavior. ReflectUtil.forName can be removed as this is the last usage. Also java.base no longer needs to import sun.reflect.misc to java.sql.rowset. ------------- PR Comment: https://git.openjdk.org/jdk/pull/22585#issuecomment-2522202759