Patch: FYI: classpath mergelet

Tom Tromey tromey@redhat.com
Sat Mar 1 22:25:00 GMT 2003


I'm checking this in to the trunk.

This brings over some API fixes from Classpath.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	* javax/accessibility/AccessibleEditableText.java,
	javax/accessibility/AccessibleHyperlink.java: New versions from
	Classpath.

Index: javax/accessibility/AccessibleEditableText.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/accessibility/AccessibleEditableText.java,v
retrieving revision 1.1
diff -u -r1.1 AccessibleEditableText.java
--- javax/accessibility/AccessibleEditableText.java 9 Aug 2002 04:26:13 -0000 1.1
+++ javax/accessibility/AccessibleEditableText.java 1 Mar 2003 22:24:13 -0000
@@ -92,7 +92,7 @@
    * @param end the end position, exclusive
    */
   // XXX What happens if indices are out of bounds?
-  String delete(int start, int end);
+  void delete(int start, int end);
 
   /**
    * Cut the text between two points to the system clipboard.
@@ -101,7 +101,7 @@
    * @param end the end position, exclusive
    */
   // XXX What happens if indices are out of bounds?
-  String cut(int start, int end);
+  void cut(int start, int end);
 
   /**
    * Paste the text from the system clipboard at the given index.
Index: javax/accessibility/AccessibleHyperlink.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/accessibility/AccessibleHyperlink.java,v
retrieving revision 1.1
diff -u -r1.1 AccessibleHyperlink.java
--- javax/accessibility/AccessibleHyperlink.java 9 Aug 2002 04:26:13 -0000 1.1
+++ javax/accessibility/AccessibleHyperlink.java 1 Mar 2003 22:24:13 -0000
@@ -106,7 +106,7 @@
    * @return the link location
    * @see #getAccessibleActionCount()
    */
-  public abstract String getAccessibleActionObject(int i);
+  public abstract Object getAccessibleActionObject(int i);
 
   /**
    * Get the anchor appropriate for the link, or null if the index is out of
@@ -119,7 +119,7 @@
    * @return the link anchor object
    * @see #getAccessibleActionCount()
    */
-  public abstract String getAccessibleActionAnchor(int i);
+  public abstract Object getAccessibleActionAnchor(int i);
 
   /**
    * Gets the character index where this link starts in the parent hypertext



More information about the Java-patches mailing list