[cp-patches] Patch: FYI: fix constructor permission

Tom Tromey tromey at redhat.com
Fri Apr 14 14:48:56 UTC 2006


I'm checking this in.

Japi pointed out that a constructor should now (as of 1.5) be public.

Tom

2006-04-14  Tom Tromey  <tromey at redhat.com>

	* javax/swing/JComboBox.java (AccessibleJComboBox): Now public.

Index: javax/swing/JComboBox.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JComboBox.java,v
retrieving revision 1.28
diff -u -r1.28 JComboBox.java
--- javax/swing/JComboBox.java	10 Apr 2006 10:15:26 -0000	1.28
+++ javax/swing/JComboBox.java	14 Apr 2006 14:54:22 -0000
@@ -1219,7 +1219,11 @@
   {
     private static final long serialVersionUID = 8217828307256675666L;
 
-    protected AccessibleJComboBox()
+    /**
+     * @specnote This constructor was protected in 1.4, but made public
+     * in 1.5.
+     */
+    public AccessibleJComboBox()
     {
       // Nothing to do here.
     }



More information about the Classpath-patches mailing list