From 57fc483297312de2c3c225f60771228084c948f0 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Tue, 26 Apr 2005 05:09:35 +0000 Subject: 2005-04-26 Michael Koch * java/lang/System.java (setSecurityManager): Fixed comment. (getSecurityManager): Removed obsolete comment. From-SVN: r98763 --- libjava/java/lang/System.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libjava/java/lang') diff --git a/libjava/java/lang/System.java b/libjava/java/lang/System.java index 8632d0b..2b06baa 100644 --- a/libjava/java/lang/System.java +++ b/libjava/java/lang/System.java @@ -177,9 +177,9 @@ public final class System */ public static synchronized void setSecurityManager(SecurityManager sm) { - // Implementation note: the field lives in Runtime because of bootstrap - // initialization issues. This method is synchronized so that no other - // thread changes it to null before this thread makes the change. + // Implementation note: the field lives in SecurityManager because of + // bootstrap initialization issues. This method is synchronized so that + // no other thread changes it to null before this thread makes the change. if (SecurityManager.current != null) SecurityManager.current.checkPermission (new RuntimePermission("setSecurityManager")); @@ -194,8 +194,6 @@ public final class System */ public static SecurityManager getSecurityManager() { - // Implementation note: the field lives in Runtime because of bootstrap - // initialization issues. return SecurityManager.current; } -- cgit v1.1