jdk/src/share/classes/java/awt/Dialog.java
changeset 3956 2586d23078e4
parent 3084 67ca55732362
child 5506 202f599c92aa
--- a/jdk/src/share/classes/java/awt/Dialog.java	Sun Oct 04 15:42:00 2009 +0100
+++ b/jdk/src/share/classes/java/awt/Dialog.java	Mon Oct 05 16:45:55 2009 +0100
@@ -856,7 +856,7 @@
         if (type == ModalityType.TOOLKIT_MODAL) {
             SecurityManager sm = System.getSecurityManager();
             if (sm != null) {
-                sm.checkPermission(SecurityConstants.TOOLKIT_MODALITY_PERMISSION);
+                sm.checkPermission(SecurityConstants.AWT.TOOLKIT_MODALITY_PERMISSION);
             }
         }
         modalityType = type;