2004-04-01 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Thu, 1 Apr 2004 19:15:05 +0000 (19:15 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Thu, 1 Apr 2004 19:15:05 +0000 (19:15 +0000)
* java/lang/SecurityManager.java
(checkAwtEventQueueAccess): Implemented.

From-SVN: r80314

libjava/ChangeLog
libjava/java/lang/SecurityManager.java

index 7a56c40822cc3e6bf24c222cd326d022ca758af1..6d3454a5eeebbb2ec21d7895c492b948bd5cffdf 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-01  Michael Koch  <konqueror@gmx.de>
+
+       * java/lang/SecurityManager.java
+       (checkAwtEventQueueAccess): Implemented.
+
 2004-04-01  Gary Benson  <gbenson@redhat.com>
 
        * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
index bec39de1cd4d4a8f2cd473cbb64f51b990713dce..8740a2e4287f4a04a720a184be7933ce481a002d 100644 (file)
@@ -861,8 +861,7 @@ public class SecurityManager
    */
   public void checkAwtEventQueueAccess()
   {
-    // Should be: checkPermission(new AWTPermission("accessEventQueue"));
-    throw new SecurityException("Cannot access the AWT event queue.");
+    checkPermission(new AWTPermission("accessEventQueue"));
   }
 
   /**