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.
