JDK-8204243 : remove Thread.destroy() and Thread.stop(Throwable)
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-06-01
  • Updated: 2022-07-02
  • Resolved: 2018-06-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11 b18Fixed
Related Reports
Blocks :  
CSR :  
Relates :  
Relates :  
Sub Tasks
JDK-8204259 :  
Description
These methods have been deprecated for a very long time. Thread.destroy() has never been implemented, and it has always thrown NoSuchMethodError to the caller. Thread.stop(Throwable) was changed to be non-functional (it throws UnsupportedOperationException to the caller) in JDK 8. They should now be removed from the Thread API.
Comments
URL: http://hg.openjdk.java.net/jdk/jdk/rev/7e3aa681a484 User: smarks Date: 2018-06-12 20:45:54 +0000
12-06-2018

Review thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-June/053536.html
01-06-2018