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]

Patch: FYI: PR 7292


I'm checking this in.  A small spec divergence in PR 7292.

I've already put this into Classpath.

We need to run one of the comparison programs to see what other
accidental divergences there might be from the spec (or, more
practically, from a Sun JDK).

Tom

Index: ChangeLog
from  Jesse Rosenstock  <jmr@fulcrummicro.com>

	For PR libgcj/7292:
	* java/lang/Character.java (toString(char)): Now static.

Index: java/lang/Character.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/Character.java,v
retrieving revision 1.9
diff -u -r1.9 Character.java
--- java/lang/Character.java 7 Apr 2002 07:45:06 -0000 1.9
+++ java/lang/Character.java 12 Jul 2002 21:07:43 -0000
@@ -1488,7 +1488,7 @@
    * @return a String containing the character
    * @since 1.4
    */
-  public String toString(char ch)
+  public static String toString(char ch)
   {
     // This assumes that String.valueOf(char) can create a single-character
     // String more efficiently than through the public API.


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