2004-04-01 Michael Koch <konqueror@gmx.de>

* java/lang/SecurityManager.java
	(checkAwtEventQueueAccess): Implemented.

From-SVN: r80314
This commit is contained in:
Michael Koch 2004-04-01 19:15:05 +00:00 committed by Michael Koch
parent 7cd4527e38
commit 2b6b5c35ce
2 changed files with 6 additions and 2 deletions

View 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.

View 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"));
}
/**