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

JShell tests: jdk/jshell/FailOverDirectExecutionControlTest.java failed with java.lang.UnsupportedOperationException

    Details

      Description

      jdk/jshell/FailOverDirectExecutionControlTest.java fails with the following exception:
      ----------System.out:(70/4486)----------
      [TestNG] Running:
        jdk/jshell/FailOverDirectExecutionControlTest.java

      config FailOverDirectExecutionControlTest.setUp(): success
      test ExecutionControlTestBase.classesDeclaration(): success
      config FailOverDirectExecutionControlTest.tearDown(): success
      config FailOverDirectExecutionControlTest.setUp(): success
      test ExecutionControlTestBase.interfaceTest(): success
      config FailOverDirectExecutionControlTest.tearDown(): success
      config FailOverDirectExecutionControlTest.setUp(): success
      test ExecutionControlTestBase.methodOverload(): success
      config FailOverDirectExecutionControlTest.tearDown(): success
      config FailOverDirectExecutionControlTest.setUp(): success
      test ExecutionControlTestBase.testExprSanity(): success
      config FailOverDirectExecutionControlTest.tearDown(): success
      config FailOverDirectExecutionControlTest.setUp(): success
      test ExecutionControlTestBase.testImportOnDemand(): success
      config FailOverDirectExecutionControlTest.tearDown(): success
      config FailOverDirectExecutionControlTest.setUp(): failure
      java.lang.IllegalStateException: Launching JShell execution engine threw: This operation intentionally broken.
      at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:139)
      at jdk.jshell/jdk.jshell.JShell$Builder.build(JShell.java:405)
      at KullaTesting.setUp(KullaTesting.java:197)
      at FailOverDirectExecutionControlTest.setUp(FailOverDirectExecutionControlTest.java:132)
      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.invokeConfigurationMethod(Invoker.java:510)
      at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:585)
      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:229)
      at java.base/java.lang.Thread.run(Thread.java:841)
      Caused by: java.lang.UnsupportedOperationException: This operation intentionally broken.
      at my.provide/my.provide.AlwaysFailingProvider.generate(AlwaysFailingProvider.java:12)
      at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:179)
      at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:296)
      at jdk.jshell/jdk.jshell.execution.FailOverExecutionControlProvider.generate(FailOverExecutionControlProvider.java:103)
      at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:126)
      ... 33 more
      test FailOverDirectExecutionControlTest.variables(): skip
      config FailOverDirectExecutionControlTest.tearDown(): skip

      ===============================================
      jdk/jshell/FailOverDirectExecutionControlTest.java
      Total tests run: 6, Failures: 0, Skips: 1
      Configuration Failures: 1, Skips: 1
      ===============================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfield Robert Field
                Reporter:
                wenjyang Crystal Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: