aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libjava/ChangeLog2
-rw-r--r--libjava/java/io/SerializablePermission.java6
2 files changed, 5 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 0aec19f..5a165f1 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,7 @@
2000-12-14 Tom Tromey <tromey@redhat.com>
+ * java/io/SerializablePermission.java (legal_names): Now private.
+
* java/lang/Character.java: Updated UnicodeBlock constants.
* scripts/blocks.pl: Special case private use and surrogate
areas. Updated URL.
diff --git a/libjava/java/io/SerializablePermission.java b/libjava/java/io/SerializablePermission.java
index 78c7229..437de44 100644
--- a/libjava/java/io/SerializablePermission.java
+++ b/libjava/java/io/SerializablePermission.java
@@ -1,5 +1,5 @@
/* SerializablePermission.java -- Basic permissions related to serialization.
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2000 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -55,8 +55,8 @@ public final class SerializablePermission extends BasicPermission
* Class Variables
*/
-public static final String[] legal_names = { "enableSubclassImplementation",
- "enableSubstitution" };
+private static final String[] legal_names = { "enableSubclassImplementation",
+ "enableSubstitution" };
/*************************************************************************/
/*