Commit 48d24deb by Tom Tromey Committed by Tom Tromey

* java/lang/SecurityManager.java (SecurityManager): Now public.

From-SVN: r46247
parent 41bd2b1c
2001-10-13 Tom Tromey <tromey@redhat.com>
* java/lang/SecurityManager.java (SecurityManager): Now public.
* java/security/AccessController.java (checkPermission): Now
throws AccessControlException.
* java/security/AllPermission.java: Class now final.
......
......@@ -751,7 +751,7 @@ public class SecurityManager {
return Thread.currentThread().getThreadGroup();
}
protected SecurityManager () {
public SecurityManager () {
if (System.getSecurityManager () != null)
throw new SecurityException ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment