Re: RFR: 8265605: Cannot call BootLoader::loadClassOrNull before initPhase2 [v3]

2021-05-14 Thread Ioi Lam
On Thu, 13 May 2021 06:19:47 GMT, Alan Bateman wrote: >> Ioi Lam has updated the pull request incrementally with one additional >> commit since the last revision: >> >> cleaned up ClassLoaders.setArchivedServicesCatalog > > Marked as reviewed by alanb (Reviewer). Thanks @AlanBateman and

Re: RFR: 8265605: Cannot call BootLoader::loadClassOrNull before initPhase2 [v3]

2021-05-13 Thread Alan Bateman
On Wed, 12 May 2021 21:03:27 GMT, Ioi Lam wrote: >> This bug was discovered during the development of >> [JDK-6824466](https://bugs.openjdk.java.net/browse/JDK-6824466): when CDS is >> enabled, if `BootLoader::loadClassOrNull` is called before `initPhase2`, it >> would trigger the

Re: RFR: 8265605: Cannot call BootLoader::loadClassOrNull before initPhase2 [v3]

2021-05-12 Thread Ioi Lam
> This bug was discovered during the development of > [JDK-6824466](https://bugs.openjdk.java.net/browse/JDK-6824466): when CDS is > enabled, if `BootLoader::loadClassOrNull` is called before `initPhase2`, it > would trigger the initialization of the archived module graph in the wrong > order.