aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog6
-rw-r--r--libjava/java/lang/System.java8
2 files changed, 9 insertions, 5 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 5030c72..7be1ac0 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,9 @@
+2005-04-26 Michael Koch <konqueror@gmx.de>
+
+ * java/lang/System.java
+ (setSecurityManager): Fixed comment.
+ (getSecurityManager): Removed obsolete comment.
+
2005-04-25 Tom Tromey <tromey@redhat.com>
* java/awt/AWTKeyStroke.java (vktable): Now package-private.
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;
}