mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 12:29:44 +08:00
* 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>
|
||||
|
||||
* 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 ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user