• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • None
    • tools
    • None
    • b16

      The jshell tests have an infrastructure class named UITesting that uses Thread.stop. This needs to be updated to remove the dependency on Thread.stop, otherwise there are test failures like this:

      java.lang.UnsupportedOperationException
      at java.base/java.lang.Thread.stop(Thread.java:1658)
      at UITesting.doRunTest(UITesting.java:127)
      at HistoryUITest.testPrevNextSnippet(HistoryUITest.java:51)

      Right now, there seem to be 7 jshell tests that make use of this:

      jdk/jshell/ToolTabSnippetTest.java
      jdk/jshell/ToolTabCommandTest.java
      jdk/jshell/ToolShiftTabTest.java
      jdk/jshell/ToolMultilineSnippetHistoryTest.java
      jdk/jshell/PasteAndMeasurementsUITest.java
      jdk/jshell/IndentUITest.java
      jdk/jshell/HistoryUITest.java

            asotona Adam Sotona
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: