7124326: [macosx] An issue similar to autoshutdown one in two AppContexts situation.
authoranthony
Tue, 26 Jun 2012 17:29:10 +0400
changeset 13145 d2dee0895154
parent 13144 af0989bd5a41
child 13146 6248ba961deb
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
jdk/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java
--- 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;
     }