Integrated: 8277861: Terminally deprecate Thread.stop
Alan Bateman
alanb at openjdk.java.net
Wed Dec 1 08:48: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).
This pull request has now been integrated.
Changeset: fde0b95e
Author: Alan Bateman <alanb at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/fde0b95ede68c188479852c46df7e28dc4b79594
Stats: 2 lines in 2 files changed: 1 ins; 0 del; 1 mod
8277861: Terminally deprecate Thread.stop
Reviewed-by: rriggs, mchung, uschindler, dholmes
-------------
PR: https://git.openjdk.java.net/jdk/pull/6616
More information about the core-libs-dev
mailing list