2004-04-01 Michael Koch <konqueror@gmx.de>
* java/lang/SecurityManager.java (checkAwtEventQueueAccess): Implemented. From-SVN: r80314
This commit is contained in:
parent
7cd4527e38
commit
2b6b5c35ce
@ -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.
|
||||
|
@ -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"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user