-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
-
None
The methods java.lang.Thread.destroy() and java.lang.Thread.stop(Throwable) are two early Java Thread methods that have been deprecated for most of Java's lifetime. In the case of destroy(), it was never even implemented and just throws NoSuchMethodError. stop(Throwable) in OpenJDK 8 currently just throws an UnsupportedOperationException.
When
a Java class uses java.lang.Thread.destroy() or java.lang.Thread.stop(Throwable)
Perform
add a hint to remove this call, which would have only thrown an exception before Java 11 anyway.