Thread.stop is inherently unsafe. It has been deprecated since Java 1.2. In addition to being unsafe for applications and libraries to use, it works inconsistently and creates a burden on the runtime to have to deal with "async" exceptions at sensitive times. Project Loom is planning virtual threads that do not support
Thread.stop and will re-specify this method to work in a degraded way.
Thread.stop() so that it can be degraded and/or removed in the future.
No changes are proposed for the the JVM TI function
StopThread, the JDWP
ThreadReference/Stop command, or the JDI
Change: @Deprecated(since="1.2") to: @Deprecated(since="1.2", forRemoval=true)
No change is proposed for the deprecation message.