* java/awt/AWTKeyStroke.java (vktable): Now package-private.
authorTom Tromey <tromey@redhat.com>
Tue, 26 Apr 2005 00:22:19 +0000 (00:22 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 26 Apr 2005 00:22:19 +0000 (00:22 +0000)
From-SVN: r98752

libjava/ChangeLog
libjava/java/awt/AWTKeyStroke.java

index 020925b..5030c72 100644 (file)
@@ -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
index 977b384..cf8d704 100644 (file)
@@ -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,