RFR: 8277861: Terminally deprecate Thread.stop
Stuart Marks
smarks at openjdk.java.net
Thu Dec 2 01:49:31 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).
Endorsed.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6616
More information about the core-libs-dev
mailing list