RFR: 8323832: Load JVMCI with the platform class loader

Paul Woegerer duke at openjdk.org
Wed Jan 24 09:50:26 UTC 2024


On Tue, 23 Jan 2024 17:00:20 GMT, xxDark <duke at openjdk.org> wrote:

> There is zero reason to do this. Passing `null` as parent class loader would suffice as boot loader just uses `findBootstrapClassOrNull` in `JavaLangAccess` either way.

Right, using `null` does the same thing. In the final version will use that instead of accessing private field `jdk.internal.loader.ClassLoaders#BOOT_LOADER`.

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

PR Comment: https://git.openjdk.org/jdk/pull/17520#issuecomment-1907772059


More information about the core-libs-dev mailing list