Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8253495

CDS generates non-deterministic output

    XMLWordPrintable

Details

    • b14

    Description

      The following test is failing in the JDK16 CI:

      runtime/cds/DeterministicDump.java

      Here's a snippet from the log file:

      ----------System.err:(14/863)----------
      java.lang.RuntimeException: File content different at byte #4, b0 = -62, b1 = -41
      at DeterministicDump.compare(DeterministicDump.java:117)
      at DeterministicDump.doTest(DeterministicDump.java:68)
      at DeterministicDump.main(DeterministicDump.java:43)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: File content different at byte #4, b0 = -62, b1 = -41

      ====
      The failure seems to have happened after JDK-8253208

      Attachments

        Issue Links

          Activity

            People

              iklam Ioi Lam
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: