-
Sub-task
-
Resolution: Delivered
-
P4
-
23
The methods `java.lang.Thread.suspend()`, `java.lang.Thread.resume()`, `java.lang.ThreadGroup.suspend()`, and `java.lang.ThreadGroup.resume()` have been removed in this release. These deadlock prone methods were deprecated in JDK 1.2 (1998), deprecated for removal in Java 14, and re-specified/degraded in Java 19/20 to throw `UnsupportedOperationException` unconditionally. Code that uses these methods will no longer compile. Code using these methods that is compiled to older releases will now throw `NoSuchMethodError` instead of `UnsupportedOperationException` if executed on JDK 23 or newer.