This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gui][PATCH] fix gui branch build failure


Hi,

This fixes a problem with Box.java

Cheers,

Kim

2004-05-06  Kim Ho  <kho@redhat.com>

	* javax/swing/Box.java
	(createAccessibleContext): Return an instance
	of the correct class.
Index: javax/swing/Box.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/Box.java,v
retrieving revision 1.3.2.1
diff -u -r1.3.2.1 Box.java
--- javax/swing/Box.java	3 May 2004 19:10:59 -0000	1.3.2.1
+++ javax/swing/Box.java	6 May 2004 15:43:26 -0000
@@ -100,7 +100,7 @@
     public AccessibleContext getAccessibleContext()
     {
       if (accessibleContext == null)
-        accessibleContext = new AccessibleBox();
+        accessibleContext = new AccessibleBoxFiller();
       return accessibleContext;
     }
     

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]