jdk/src/share/classes/javax/swing/JWindow.java
changeset 12661 6cf8b7116579
parent 11268 f0e59c4852de
child 20455 f6f9a0c2796b
--- a/jdk/src/share/classes/javax/swing/JWindow.java	Thu May 17 21:31:55 2012 +0400
+++ b/jdk/src/share/classes/javax/swing/JWindow.java	Thu May 17 21:48:57 2012 +0400
@@ -264,7 +264,7 @@
         setLocale( JComponent.getDefaultLocale() );
         setRootPane(createRootPane());
         setRootPaneCheckingEnabled(true);
-        sun.awt.SunToolkit.checkAndSetPolicy(this, true);
+        sun.awt.SunToolkit.checkAndSetPolicy(this);
     }
 
     /**