From 48d24deb4ee5d801d39135727941d1e8ae1cdde3 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 13 Oct 2001 23:23:50 +0000 Subject: [PATCH] * java/lang/SecurityManager.java (SecurityManager): Now public. From-SVN: r46247 --- libjava/ChangeLog | 2 ++ libjava/java/lang/SecurityManager.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 25974eb2a04..124e20e5266 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,7 @@ 2001-10-13 Tom Tromey + * java/lang/SecurityManager.java (SecurityManager): Now public. + * java/security/AccessController.java (checkPermission): Now throws AccessControlException. * java/security/AllPermission.java: Class now final. diff --git a/libjava/java/lang/SecurityManager.java b/libjava/java/lang/SecurityManager.java index 345bb22628d..677dc90212d 100644 --- a/libjava/java/lang/SecurityManager.java +++ b/libjava/java/lang/SecurityManager.java @@ -751,7 +751,7 @@ public class SecurityManager { return Thread.currentThread().getThreadGroup(); } - protected SecurityManager () { + public SecurityManager () { if (System.getSecurityManager () != null) throw new SecurityException (); }