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

    • Verified

      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.

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

              Created:
              Updated:
              Resolved: