11.1.3: Thread.stop no longer causes an asynchronous exception

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 19
    • Component/s: specification

      Thread.stop is changed for Java 20 to throw UnsupportedOperationException unconditionally. ThreadGroup.stop was changed to throw UOE in Java 19. Combined, it means there is no longer any user facing API to "stop" a Thread.

      JLS 11.1.3 (and JVMS 2.10) will require the description of asynchronous exceptions to be updated.

            Assignee:
            Alex Buckley
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: