On Tue, 23 Jan 2024 17:00:20 GMT, xxDark <d...@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

Reply via email to