7124326: [macosx] An issue similar to autoshutdown one in two AppContexts situation.
Summary: Don't add SystemTrayPeer to the peers map
Reviewed-by: art, leonidr
--- a/jdk/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java Tue Jun 26 16:46:00 2012 +0400
+++ b/jdk/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java Tue Jun 26 17:29:10 2012 +0400
@@ -216,7 +216,6 @@
@Override
public SystemTrayPeer createSystemTray(SystemTray target) {
SystemTrayPeer peer = new CSystemTray();
- targetCreatedPeer(target, peer);
return peer;
}