<AWT Dev> [9] Review Request: 8136858 Examine the usage of ThreadGroup.stop() in sun.awt.AppContext

Chris Hegarty chris.hegarty at oracle.com
Tue Oct 6 12:50:59 UTC 2015

Thanks Sergey, this looks good to me.


On 6 Oct 2015, at 13:42, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:

> Hello.
> Please review the fix for jdk9.
> In the fix the call to ThreadGroup.stop() was wrapped in privileged block. The new test is provided, I have checked that it will fail if default permission "stopThread" will be removed from java.policy or if the call to ThreadGroup.stop() will be removed from AppContext.java
> Bug: https://bugs.openjdk.java.net/browse/JDK-8136858
> Webrev can be found at: http://cr.openjdk.java.net/~serb/8136858/webrev.02
> -- 
> Best regards, Sergey.

More information about the awt-dev mailing list