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

[lworld] TypeNameTest fails since 8221545

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • repo-valhalla
    • repo-valhalla
    • tools

      test/langtools/jdk/jshell/TypeNameTest.java fails since the fix for JDK-8221545
      http://hg.openjdk.java.net/valhalla/valhalla/rev/bf52db1ad4ea

      test TypeNameTest.testConditionals(): failure
      java.lang.AssertionError: Expected status to be: VALID, got: REJECTED
         expected-event: STEInfo key: MAIN_SNIPPET before: NONEXISTENT status: VALID sig: true cause: null
         got-event: key: 7 before: NONEXISTENT status: REJECTED sig: false cause: null expected [VALID] but found [REJECTED]
      at org.testng.Assert.fail(Assert.java:94)
      at org.testng.Assert.failNotEquals(Assert.java:496)
      at org.testng.Assert.assertEquals(Assert.java:125)
      at KullaTesting$STEInfo.assertStatusMatch(KullaTesting.java:1213)
      at KullaTesting$STEInfo.assertMatch(KullaTesting.java:1177)
      at KullaTesting.checkEvents(KullaTesting.java:562)
      at KullaTesting.assertEval(KullaTesting.java:396)
      at KullaTesting.assertEval(KullaTesting.java:390)
      at KullaTesting.assertEval(KullaTesting.java:361)
      at TypeNameTest.assertType(TypeNameTest.java:45)
      at TypeNameTest.assertType(TypeNameTest.java:41)
      at TypeNameTest.testConditionals(TypeNameTest.java:86)
      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:569)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      at org.testng.TestRunner.privateRun(TestRunner.java:773)
      at org.testng.TestRunner.run(TestRunner.java:623)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      at org.testng.SuiteRunner.run(SuiteRunner.java:259)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
      at org.testng.TestNG.run(TestNG.java:1018)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
      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:569)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:835)


      I've verified that the failure reproduces with build 72 but not with build 71.

            sadayapalam Srikanth Adayapalam (Inactive)
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: