-
Sub-task
-
Resolution: Delivered
-
P4
-
26
The method `java.lang.Thread.stop()` has been removed in this release. This inherently unsafe method was deprecated in JDK 1.2 (1998), deprecated for removal in JDK 18, and was re-specified in JDK 20 to throw `UnsupportedOperationException` unconditionally. Code that uses this method will no longer compile. Code using this method that is compiled to older releases will throw `NoSuchMethodError` instead of `UnsupportedOperationException` if executed on JDK 26 or newer.