JDK 17 | JDK 20 |
---|---|
17.0.6Fixed | 20 b09Fixed |
Relates :
|
Near the end of the test, it forces a GC so ClassUnloadEvents will be generated, and then the test immediately exits. However, the ClassUnloadEvents might not be sent out before the VMDeath is generated, and it prevents delivery of any more events. A short delay after the GC should give the JVM time to deliver the ClassUnloadEvents first.
|