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

Leonid Romanov leonid.romanov at oracle.com
Wed Sep 18 05:20:25 PDT 2013


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.



More information about the awt-dev mailing list