Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8204243 remove Thread.destroy() and Thread.stop(Throwable)
  3. JDK-8204259

Release Note: Removal of Thread.destroy() and Thread.stop(Throwable) Methods

    XMLWordPrintable

    Details

    • Subcomponent:
    • Verification:
      Verified

      Description

      The methods `Thread.destroy()` and `Thread.stop(Throwable)` have been removed. They have been deprecated for several Java SE releases. The `Thread.destroy()` method has never been implemented, and the `Thread.stop(Throwable)` method has been non-functional since Java SE 8. No code should rely on the behavior of these two methods; however, any code that uses these methods will cause compilation errors. The mitigation is to remove references to these methods from the source code. Note that the no-arg method `Thread.stop()` is unaffected by this change.

        Attachments

          Activity

            People

            Assignee:
            smarks Stuart Marks
            Reporter:
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: