jdk/src/share/classes/sun/applet/AppletSecurity.java
changeset 22060 cd4f9d7dbeda
parent 21278 ef8a3a2a72f2
child 23010 6dadb192ad81
--- a/jdk/src/share/classes/sun/applet/AppletSecurity.java	Tue Dec 17 17:14:02 2013 -0800
+++ b/jdk/src/share/classes/sun/applet/AppletSecurity.java	Wed Dec 18 08:41:46 2013 +0000
@@ -42,6 +42,7 @@
 import java.lang.reflect.*;
 import sun.awt.AWTSecurityManager;
 import sun.awt.AppContext;
+import sun.awt.AWTPermissions;
 import sun.security.provider.*;
 import sun.security.util.SecurityConstants;
 
@@ -314,7 +315,7 @@
             // If we're about to allow access to the main EventQueue,
             // and anything untrusted is on the class context stack,
             // disallow access.
-            super.checkPermission(SecurityConstants.AWT.CHECK_AWT_EVENTQUEUE_PERMISSION);
+            super.checkPermission(AWTPermissions.CHECK_AWT_EVENTQUEUE_PERMISSION);
         }
     } // checkAwtEventQueueAccess()