# HG changeset patch # User anthony # Date 1340717350 -14400 # Node ID d2dee08951547c7b766f3decf0da18bc21ecf781 # Parent af0989bd5a41e87a42c8b8ef98b8814060c93dc6 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 diff -r af0989bd5a41 -r d2dee0895154 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; }