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

Incorrect result with C2 compiled code after JDK-8324517

XMLWordPrintable

    • 23

      The actual test log shows:

      RUNNING with _BASIC _C2_STRESS
      Saving result: fails 269
          Failed!
      RUNNING with _BASIC _C2_STRESS
      Saving result: fails 269
          Failed!
      Test r2-269 FAILED
      r2-269 (233 lines) [147 passed, 0 crashes, 2 fails, 0 hangs, 0 incorrect tests, 121 Reference Java failures] - 89%/300

      The jtr files shows

      r2- 300: 167 passed, 0 crashes, 2 fails, 0 hangs, 0 incorrect tests, 132 Reference Java failures

      Finished at: Mon May 20 05:25:06 UTC 2024


      ----------System.err:(15/908)----------
      java.lang.RuntimeException: assertEquals expected: 1 but was: 2
      at jdk.test.lib.Asserts.fail(Asserts.java:691)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:204)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:191)
      at applications.javafuzzer.JavaFuzzerRunner.reportResults(JavaFuzzerRunner.java:294)
      at applications.javafuzzer.JavaFuzzerRunner.runWithConfigurations(JavaFuzzerRunner.java:315)
      at applications.javafuzzer.JavaFuzzerRunner.main(JavaFuzzerRunner.java:337)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      Aside: Shouldn't the assert be checkibg for zero failures not 1?

        1. FuzzerUtils.java
          13 kB
          Tobias Hartmann
        2. Test.java
          8 kB
          Tobias Hartmann

            roland Roland Westrelin
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: