-
Bug
-
Resolution: Fixed
-
P4
-
20
-
b06
-
x86_64
-
os_x_10.15
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8343035 | 17.0.15-oracle | Shyam kishor | P4 | Resolved | Fixed | master |
JDK-8342051 | 17.0.14 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
runtime/ClassUnload/DictionaryDependsTest.java
Here's a snippet from the log file:
#section:main
----------messages:(5/486)----------
command: main -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -Xlog:class+unload -XX:+WhiteBoxAPI DictionaryDependsTest
reason: User specified action: run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -Xlog:class+unload -XX:+WhiteBoxAPI DictionaryDependsTest
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base,java.compiler --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
elapsed time (seconds): 1.082
----------configuration:(4/111)----------
Boot Layer
add modules: java.base java.compiler
add exports: java.base/jdk.internal.misc ALL-UNNAMED
----------System.out:(6/219)----------
name is DictionaryDependsTest$c1r
name is p2.c2
c2 method2 called
c2 method2 called
Should not unload anything before here because class DictionaryDependsTest$c1r is still alive.
Should unload MyTest and p2.c2 just now
----------System.err:(12/830)----------
jdk.test.lib.classloader.ClassUnloadCommon$TestFailure: Test failed: should be unloaded
at jdk.test.lib.classloader.ClassUnloadCommon.failIf(ClassUnloadCommon.java:50)
at DictionaryDependsTest.main(DictionaryDependsTest.java:87)
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:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
JavaTest Message: Test threw exception: jdk.test.lib.classloader.ClassUnloadCommon$TestFailure: Test failed: should be unloaded
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: jdk.test.lib.classloader.ClassUnloadCommon$TestFailure: Test failed: should be unloaded
----------rerun:(42/8447)*----------
- backported by
-
JDK-8342051 runtime/ClassUnload/DictionaryDependsTest.java failed with "Test failed: should be unloaded"
- Resolved
-
JDK-8343035 runtime/ClassUnload/DictionaryDependsTest.java failed with "Test failed: should be unloaded"
- Resolved
- is blocked by
-
JDK-8271707 migrate tests to use jdk.test.whitebox.WhiteBox
- Resolved
- relates to
-
JDK-8289257 Some custom loader tests failed due to symbol refcount not decremented
- Resolved
- links to
-
Commit openjdk/jdk/0c1aa2bc
-
Commit(master) openjdk/jdk17u-dev/fa003ff0
-
Review openjdk/jdk/9435
-
Review(master) openjdk/jdk17u-dev/2937