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

From-SVN: r46247
This commit is contained in:
Tom Tromey 2001-10-13 23:23:50 +00:00 committed by Tom Tromey
parent 41bd2b1cc2
commit 48d24deb4e
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
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.

View File

@ -751,7 +751,7 @@ public class SecurityManager {
return Thread.currentThread().getThreadGroup();
}
protected SecurityManager () {
public SecurityManager () {
if (System.getSecurityManager () != null)
throw new SecurityException ();
}