<AWT Dev> RFR: 8256643: Terminally deprecate ThreadGroup stop, destroy, isDestroyed,…

Sean Mullan mullan at openjdk.java.net
Fri Nov 20 14:10:01 UTC 2020

On Thu, 19 Nov 2020 18:53:09 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Marked as reviewed by serb (Reviewer).
> The changes in the awt are trivial and look fine.

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 deprecated in a future release."


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

More information about the awt-dev mailing list