* java/lang/SecurityManager.java (SecurityManager): Now public.
From-SVN: r46247
This commit is contained in:
parent
41bd2b1cc2
commit
48d24deb4e
@ -1,5 +1,7 @@
|
|||||||
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 {
|
|||||||
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 ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user