RFR(XXS) 8213275 ReplaceCriticalClasses.java fails with jdk.internal.vm.PostVMInitHook not found
serguei.spitsyn at oracle.com
serguei.spitsyn at oracle.com
Tue Nov 27 21:08:41 UTC 2018
Hi Ioi,
It looks good and trivial.
Thanks,
Serguei
On 11/27/18 8:42 AM, Ioi Lam wrote:
> https://bugs.openjdk.java.net/browse/JDK-8213275
> http://cr.openjdk.java.net/~iklam/jdk12/8213275-ReplaceCriticalClasses-missing-PostVMInitHook.v01/
>
>
> Please review this simple fix. The jdk.internal.vm.PostVMInitHook
> class is not in the openjdk so it should be used in a test in the
> openjdk repo.
>
> It isn't important to test for this particular class. When I wrote the
> test, I was just looking for a few classes that are loaded immediately
> after JVMTI has exited JVMTI_PHASE_PRIMORDIAL, and PostVMInitHook
> happened to be one of those classes.
>
> Since we already test a few other classes such as java/util/Locale,
> the fix is simply to remove PostVMInitHook from the test.
>
> Thanks
> - Ioi
More information about the serviceability-dev
mailing list