[lworld] runtime/ClassUnload/KeepAliveSoftReference.java Test failed: true != false

XMLWordPrintable

    • x86_64
    • windows

      The following test failed in the Valhalla CI:

      runtime/ClassUnload/KeepAliveSoftReference.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(8/546)----------
      command: main -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI KeepAliveSoftReference
      reason: User specified action: run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI KeepAliveSoftReference
      started: Wed Feb 25 05:19:23.566 UTC 2026
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
      Process id: 8520
      finished: Wed Feb 25 05:19:24.870 UTC 2026
      elapsed time (seconds): 1.304
      ----------configuration:(4/115)----------
      Boot Layer
        add modules: java.base
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      ----------System.out:(2/70)----------
      testSoftReference (1) alive: true
      testSoftReference (2) alive: true
      ----------System.err:(12/827)----------
      jdk.test.lib.classloader.ClassUnloadCommon$TestFailure: Test failed: true != false
      at jdk.test.lib.classloader.ClassUnloadCommon.failIf(ClassUnloadCommon.java:58)
      at KeepAliveSoftReference.main(KeepAliveSoftReference.java:70)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1527)

      JavaTest Message: Test threw exception: jdk.test.lib.classloader.ClassUnloadCommon$TestFailure: Test failed: true != false
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: jdk.test.lib.classloader.ClassUnloadCommon$TestFailure: Test failed: true != false
      ----------rerun:(50/7855)*----------

            Assignee:
            Coleen Phillimore
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: