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

hs_err and replay file may contain garbage when overwriting existing file

XMLWordPrintable

    • b21

      Test: compiler/ciReplay/TestServerVM.java

      (test code:)
          public void positiveTest(String... additionalVmOpts) {
              Asserts.assertEQ(startTest(additionalVmOpts), 0, "Unexpected exit code for positive case: "
                      + Arrays.toString(additionalVmOpts));
          }


      java.lang.RuntimeException: Unexpected exit code for positive case: [-XX:TieredStopAtLevel=3]: expected 1 to equal 0
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
      at compiler.ciReplay.CiReplayBase.positiveTest(CiReplayBase.java:233)
      at compiler.ciReplay.VMBase.testAction(VMBase.java:52)
      at compiler.ciReplay.CiReplayBase.runTest(CiReplayBase.java:104)
      at compiler.ciReplay.VMBase.main(VMBase.java:33)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)

            thartmann Tobias Hartmann
            jwilhelm Jesper Wilhelmsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: