From 2b6b5c35ce58090c8e1b6a5438e6cce3263000da Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Thu, 1 Apr 2004 19:15:05 +0000 Subject: [PATCH] 2004-04-01 Michael Koch * java/lang/SecurityManager.java (checkAwtEventQueueAccess): Implemented. From-SVN: r80314 --- libjava/ChangeLog | 5 +++++ libjava/java/lang/SecurityManager.java | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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")); } /** -- 2.30.2