JDK 26 |
---|
26Unresolved |
CSR :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
JDK-8368370 :
|
The no-arg Thread.stop has been deprecated since JDK 1.2, deprecated for removal since JDK 18, and re-specified to throw UOE unconditionally since JDK 20. It is time to finally remove the method. The more evil sibling Thread.stop(Throwable) was removed in JDK 11. In terms of compatibility the code that uses Thread.stop will no longer compile. Code that was compiled to older releases and uses this method will throw NoSuchMethodError instead of UnsupportedOperationException.
|