From 3e591bd21b18df887a47f2b7912d2dfa9982d58a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 26 Apr 2005 00:22:19 +0000 Subject: [PATCH] * java/awt/AWTKeyStroke.java (vktable): Now package-private. From-SVN: r98752 --- libjava/ChangeLog | 4 ++++ libjava/java/awt/AWTKeyStroke.java | 5 +++-- 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 + + * java/awt/AWTKeyStroke.java (vktable): Now package-private. + 2005-04-25 Thomas Fitzsimmons * 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, -- 2.7.4