<AWT Dev> [8] Review request for 7188071: closed/java/awt/TrayIcon/TrayIconSecurity/GrantedTrayIconTest fails

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Sep 18 06:12:53 PDT 2013


Hi, Leonid.
The fix looks good.

On 18.09.2013 16:20, Leonid Romanov wrote:
> Hello,
> Please review a fix for 7188071: closed/java/awt/TrayIcon/TrayIconSecurity/GrantedTrayIconTest fails. This is a rather old issue, dating back to jdk8-b48. The test uses custom security policy which grants "accessSystemTray" permission, but lacks "accessEventQueue" permission. I see no reason why tray icon functionality should require any permissions other "accessSystemTray", so I've changed XTrayIconPeer.java to avoid usage of getSystemEventQueue().
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-7188071
> Webrev: http://cr.openjdk.java.net/~leonidr/7188071/webrev.00/
>
> Thanks,
> Leonid.
>


-- 
Best regards, Sergey.



More information about the awt-dev mailing list