JDK-8192991 : Deprecate ThreadGroup
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2017-12-04
  • Updated: 2022-07-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Comments
ThreadGroup has been significantly degraded in Java 19, see release note JDK-8286768. In addition, its class description has an API note to make it a bit clearer that the API is legacy and should be rare for new code to use it directly.
19-06-2022

JDK-8252885 is draft JEP with a proposal for addressing the issues with ThreadGroup without causing significant disruption. The proposal amounts to addressing its main issues and can be thought of as "pushing ThreadGroup aside" so that thread creation, starting, or termination does not need bookkeeping overhead. The proposal does not preclude deprecating or removing ThreadGroup in the future.
23-09-2020