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

[Graal] intOverflow and longOverflow tests from api/java_lang/Math/AddExact.html test fail in -Xcomp

XMLWordPrintable

      api/java_lang/Math/AddExact.html#AddExact jck test fail when running in Graal as JIT mode and -Xcomp:
       
      intNormalRun: Passed. test cases: 64; all passed
      Expected exception java.lang.ArithmeticException was not thrown by testcase "intOverflow"
      Testcase "intOverflow" failed with arguments [1073741824, 1073741824]
      Expected exception java.lang.ArithmeticException was not thrown by testcase "intOverflow"
      Testcase "intOverflow" failed with arguments [-2147483648, -1]
      Expected exception java.lang.ArithmeticException was not thrown by testcase "intOverflow"
      Testcase "intOverflow" failed with arguments [1, 2147483647]
      Expected exception java.lang.ArithmeticException was not thrown by testcase "intOverflow"
      Testcase "intOverflow" failed with arguments [-1, -2147483648]
      Expected exception java.lang.ArithmeticException was not thrown by testcase "intOverflow"
      Testcase "intOverflow" failed with arguments [2140536831, 1962261435]
      Expected exception java.lang.ArithmeticException was not thrown by testcase "intOverflow"
      Testcase "intOverflow" failed with arguments [-2140536831, -1962261435]
      intOverflow: Failed. test cases: 7; passed: 1; failed: 6
      longNormalRun: Passed. test cases: 64; all passed
      Expected exception java.lang.ArithmeticException was not thrown by testcase "longOverflow"
      Testcase "longOverflow" failed with arguments [4611686018427387904, 4611686018427387904]
      Expected exception java.lang.ArithmeticException was not thrown by testcase "longOverflow"
      Testcase "longOverflow" failed with arguments [-9223372036854775808, -1]
      Expected exception java.lang.ArithmeticException was not thrown by testcase "longOverflow"
      Testcase "longOverflow" failed with arguments [1, 9223372036854775807]
      Expected exception java.lang.ArithmeticException was not thrown by testcase "longOverflow"
      Testcase "longOverflow" failed with arguments [-1, -9223372036854775808]
      Expected exception java.lang.ArithmeticException was not thrown by testcase "longOverflow"
      Testcase "longOverflow" failed with arguments [9193535689323446016, 8427848693821931587]
      Expected exception java.lang.ArithmeticException was not thrown by testcase "longOverflow"
      Testcase "longOverflow" failed with arguments [-9193535689323446084, -8427848693821949183]
      longOverflow: Failed. test cases: 7; passed: 1; failed: 6

      Similar failure in api/java_lang/StrictMath/AddExact.html

      No failure in case Graal is not used.

            dlong Dean Long
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: