JDK 21 Early-Access Release Notes

This is a draft of the release notes that will accompany JDK 21. The contents are subject to change until release.

Build 2

ThreadGroup.allowThreadSuspension is removed (JDK-8297295)

core-libs/java.lang

The method java.lang.ThreadGroup.allowThreadSuspension(boolean) has been removed in this release. The method was used for low memory handling in JDK 1.1 but was never fully specified. It was deprecated and changed to "do nothing" in JDK 1.2 (released 1998).