Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8289610 Degrade Thread.stop
  3. JDK-8293684

11.1.3: Thread.stop no longer causes an asynchronous exception

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P4
    • 20
    • 19
    • specification

    Description

      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.

      Attachments

        Activity

          People

            abuckley Alex Buckley
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: