RFR: 8256643: Terminally deprecate ThreadGroup stop, destroy, isDestroyed,… [v2]

Sean Mullan mullan at openjdk.java.net
Fri Nov 20 15:23:06 UTC 2020


On Fri, 20 Nov 2020 14:49:16 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> > I think it would be useful in the javadoc of the RuntimePermission targets (stopThread, etc) to add a note/link that the corresponding method that the permission applies to is terminally deprecated. Something as simple as "Note that the Thread.stop() method is terminally deprecated and will be removed in a future release."
> 
> We haven't changed Thread.stop here, I would like to get that done too but as separate issue because it will require wider discussion. The main thing for now is the prep work before proposing to shove ThreadGroup to the side.

Ok, but then how about putting a similar note in the javadoc for the RuntimePermission "modifyThreadGroup" target?

-------------

PR: https://git.openjdk.java.net/jdk/pull/1318


More information about the core-libs-dev mailing list