--- old/src/share/classes/sun/applet/AppletSecurity.java 2013-09-02 16:33:03.934515143 +0100 +++ new/src/share/classes/sun/applet/AppletSecurity.java 2013-09-02 16:33:03.702515148 +0100 @@ -314,7 +314,7 @@ // If we're about to allow access to the main EventQueue, // and anything untrusted is on the class context stack, // disallow access. - super.checkAwtEventQueueAccess(); + super.checkPermission(SecurityConstants.AWT.CHECK_AWT_EVENTQUEUE_PERMISSION); } } // checkAwtEventQueueAccess()