The fix looks fine to me.

--
best regards,
Anthony

On 09/18/2013 04:20 PM, 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.

Reply via email to