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> 2001-10-13 Tom Tromey <tromey@redhat.com>
* java/lang/SecurityManager.java (SecurityManager): Now public.
* java/security/AccessController.java (checkPermission): Now * java/security/AccessController.java (checkPermission): Now
throws AccessControlException. throws AccessControlException.
* java/security/AllPermission.java: Class now final. * java/security/AllPermission.java: Class now final.
......
...@@ -751,7 +751,7 @@ public class SecurityManager { ...@@ -751,7 +751,7 @@ public class SecurityManager {
return Thread.currentThread().getThreadGroup(); return Thread.currentThread().getThreadGroup();
} }
protected SecurityManager () { public SecurityManager () {
if (System.getSecurityManager () != null) if (System.getSecurityManager () != null)
throw new SecurityException (); 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