aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2005-04-26 00:22:19 +0000
committerTom Tromey <tromey@gcc.gnu.org>2005-04-26 00:22:19 +0000
commit3e591bd21b18df887a47f2b7912d2dfa9982d58a (patch)
treef5143ea1b9818047f03fd7912e504158a6441ca4
parent0d767acfdfa946950d0e2d54c2a5a929527461e2 (diff)
downloadgcc-3e591bd21b18df887a47f2b7912d2dfa9982d58a.zip
gcc-3e591bd21b18df887a47f2b7912d2dfa9982d58a.tar.gz
gcc-3e591bd21b18df887a47f2b7912d2dfa9982d58a.tar.bz2
* java/awt/AWTKeyStroke.java (vktable): Now package-private.
From-SVN: r98752
-rw-r--r--libjava/ChangeLog4
-rw-r--r--libjava/java/awt/AWTKeyStroke.java5
2 files changed, 7 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 020925b..5030c72 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-25 Tom Tromey <tromey@redhat.com>
+
+ * java/awt/AWTKeyStroke.java (vktable): Now package-private.
+
2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
diff --git a/libjava/java/awt/AWTKeyStroke.java b/libjava/java/awt/AWTKeyStroke.java
index 977b384..cf8d704 100644
--- a/libjava/java/awt/AWTKeyStroke.java
+++ b/libjava/java/awt/AWTKeyStroke.java
@@ -108,11 +108,12 @@ public class AWTKeyStroke implements Serializable
private static Constructor ctor;
/**
- * A table of keyCode names to values.
+ * A table of keyCode names to values. This is package-private to
+ * avoid an accessor method.
*
* @see #getAWTKeyStroke(String)
*/
- private static final HashMap vktable = new HashMap();
+ static final HashMap vktable = new HashMap();
static
{
// Using reflection saves the hassle of keeping this in sync with KeyEvent,