From: Michael Koch Date: Thu, 1 Apr 2004 19:15:05 +0000 (+0000) Subject: 2004-04-01 Michael Koch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b6b5c35ce58090c8e1b6a5438e6cce3263000da;p=gcc.git 2004-04-01 Michael Koch * java/lang/SecurityManager.java (checkAwtEventQueueAccess): Implemented. From-SVN: r80314 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 7a56c40822c..6d3454a5eee 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-04-01 Michael Koch + + * java/lang/SecurityManager.java + (checkAwtEventQueueAccess): Implemented. + 2004-04-01 Gary Benson * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception. diff --git a/libjava/java/lang/SecurityManager.java b/libjava/java/lang/SecurityManager.java index bec39de1cd4..8740a2e4287 100644 --- a/libjava/java/lang/SecurityManager.java +++ b/libjava/java/lang/SecurityManager.java @@ -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")); } /**