-
Bug
-
Resolution: Duplicate
-
P2
-
20
-
x86_64
-
os_x
runtime/ClassUnload/UnloadInterfaceTest.java
Here's a snippet from the log file:
#section:main
----------messages:(7/557)----------
command: main -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xlog:class+unload=trace UnloadInterfaceTest
reason: User specified action: run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xlog:class+unload=trace UnloadInterfaceTest
started: Thu Dec 22 12:27:08 GMT 2022
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
finished: Thu Dec 22 12:27:09 GMT 2022
elapsed time (seconds): 0.837
----------configuration:(4/111)----------
Boot Layer
add modules: java.base
add exports: java.base/jdk.internal.misc ALL-UNNAMED
----------System.out:(1/38)----------
className found test.ImplementorClass
----------System.err:(13/904)----------
jdk.test.lib.classloader.ClassUnloadCommon$TestFailure: Test failed: should have been unloaded
at jdk.test.lib.classloader.ClassUnloadCommon.failIf(ClassUnloadCommon.java:51)
at UnloadInterfaceTest.run(UnloadInterfaceTest.java:90)
at UnloadInterfaceTest.main(UnloadInterfaceTest.java:69)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
JavaTest Message: Test threw exception: jdk.test.lib.classloader.ClassUnloadCommon$TestFailure: Test failed: should have been unloaded
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: jdk.test.lib.classloader.ClassUnloadCommon$TestFailure: Test failed: should have been unloaded
----------rerun:(43/8811)*----------
- duplicates
-
JDK-8057586 Explicit GC ignored if GCLocker is active
-
- Resolved
-
-
JDK-8299776 Test runtime/cds/appcds/customLoader/UnloadUnregisteredLoaderTest.java failed: should have been unloaded
-
- Closed
-
-
JDK-8301264 runtime/ClassUnload/DictionaryDependsTest.java fails with "Test failed: should be unloaded"
-
- Closed
-
-
JDK-8303032 runtime/ClassUnload/KeepAliveClassLoader.java fails with "Test failed: should be unloaded"
-
- Closed
-
- relates to
-
JDK-8057586 Explicit GC ignored if GCLocker is active
-
- Resolved
-
-
JDK-8301264 runtime/ClassUnload/DictionaryDependsTest.java fails with "Test failed: should be unloaded"
-
- Closed
-
-
JDK-8303032 runtime/ClassUnload/KeepAliveClassLoader.java fails with "Test failed: should be unloaded"
-
- Closed
-