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

[IR Framework] test bug: TestNotCompilable.java fails on product build

XMLWordPrintable

    • b16

      Thanks [~fyang] for reporting this under the PR https://github.com/openjdk/jdk/pull/24049 !

      The test added in JDK-8351952 apparently does not pass in product build.

      Ran it with:
      make test TEST="testlibrary_tests/ir_framework/tests/TestNotCompilable.java" CONF=linux-x64

      java.lang.RuntimeException: should have thrown TestRunException/TestVMException or IRViolationException
      at ir_framework.tests.TestNotCompilable.runWithExcludeExpectFailure(TestNotCompilable.java:100)
      at ir_framework.tests.TestNotCompilable.runTests(TestNotCompilable.java:58)
      at ir_framework.tests.TestNotCompilable.main(TestNotCompilable.java:41)
      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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
      at java.base/java.lang.Thread.run(Thread.java:1447)

            epeter Emanuel Peter
            epeter Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: