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

jdk/jshell/TypeNameTest.java failed with IllegalStateException

    Details

      Description

      ----------System.out:(80/4217)----------
      [TestNG] Running:
        jdk/jshell/TypeNameTest.java

      config KullaTesting.setUp(): success
      test TypeNameTest.testAnonymousClassName(): success
      config KullaTesting.tearDown(): success
      config KullaTesting.setUp(): success
      test TypeNameTest.testBounds(): success
      config KullaTesting.tearDown(): success
      config KullaTesting.setUp(): success
      test TypeNameTest.testCapturedTypeName(): success
      config KullaTesting.tearDown(): success
      config KullaTesting.setUp(): success
      test TypeNameTest.testConditionals(): success
      config KullaTesting.tearDown(): success
      config KullaTesting.setUp(): success
      test TypeNameTest.testJEP286NonDenotable(): success
      config KullaTesting.tearDown(): success
      config KullaTesting.setUp(): success
      test TypeNameTest.testJEP286NonDenotable2(): success
      config KullaTesting.tearDown(): success
      config KullaTesting.setUp(): success
      test TypeNameTest.testJavaLang(): success
      config KullaTesting.tearDown(): success
      config KullaTesting.setUp(): success
      test TypeNameTest.testNotOverEagerPackageEating(): success
      config KullaTesting.tearDown(): success
      config KullaTesting.setUp(): success
      test TypeNameTest.testReplNestedClassName(): success
      config KullaTesting.tearDown(): success
      config KullaTesting.setUp(): success
      test TypeNameTest.testTypeInference(): failure
      java.lang.IllegalStateException: JShell (jdk.jshell.JShell@6d03caba) has been closed.
      at jdk.jshell/jdk.jshell.JShell.checkIfAlive(JShell.java:867)
      at jdk.jshell/jdk.jshell.JShell.onX(JShell.java:826)
      at jdk.jshell/jdk.jshell.JShell.onSnippetEvent(JShell.java:728)
      at KullaTesting.checkEvents(KullaTesting.java:475)
      at KullaTesting.assertEval(KullaTesting.java:396)
      at KullaTesting.assertEval(KullaTesting.java:390)
      at KullaTesting.assertEval(KullaTesting.java:361)
      at TypeNameTest.assertType(TypeNameTest.java:41)
      at TypeNameTest.testTypeInference(TypeNameTest.java:51)
      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:564)
      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 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:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)
      config KullaTesting.tearDown(): success
      config KullaTesting.setUp(): success
      test TypeNameTest.testVariableTypeName(): success
      config KullaTesting.tearDown(): success

      ===============================================
      jdk/jshell/TypeNameTest.java
      Total tests run: 11, Failures: 1, Skips: 0
      ===============================================

      ----------System.err:(12/713)----------
      java.lang.Exception: failures: 1
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
      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:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.Exception
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: failures: 1

        Attachments

          Activity

            People

            • Assignee:
              rfield Robert Field
              Reporter:
              jjiang John Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: