RFR: 8277861: Terminally deprecate Thread.stop
Roger Riggs
rriggs at openjdk.java.net
Tue Nov 30 15:51:00 UTC 2021
On Tue, 30 Nov 2021 14:52:37 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> Thread.stop is inherently unsafe and has been deprecated since Java 1.2 (1998). It's time to terminally deprecate this method so it can be degraded and removed in the future.
>
> This PR does not propose any changes to the JVM TI StopThread function (or the corresponding JDWP command or JDI method).
Past time for this to go.
-------------
Marked as reviewed by rriggs (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6616
More information about the core-libs-dev
mailing list