RFR: 8320786: Remove ThreadGroup.stop
Roger Riggs
rriggs at openjdk.org
Tue Nov 28 16:10:58 UTC 2023
On Mon, 27 Nov 2023 16:58:29 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> ThreadGroup.stop was deprecated since JDK 1.2, deprecated for removal in Java 18, and re-specified/degraded to throw UnsupportedOperationException unconditionally in Java 20. Early in Java 23 seems a fine time to finally remove this method. Corpus analysis of 176 million classes in 485k artifacts found residual usages in 14 artifacts, so not many.
>
> It would be nice if we could remove Thread.stop at the same time. Sadly there are still quite a few artifacts containing code (and in some cases tests) that reference this method. We will have to come back to this in some future release.
Finally!
-------------
Marked as reviewed by rriggs (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/16828#pullrequestreview-1753301310
More information about the core-libs-dev
mailing list