Patch: fix for Double.java

Tom Tromey tromey@cygnus.com
Tue Jun 27 11:36:00 GMT 2000


I don't know how the bug in my Double.java change got past me.  I know
I rebuilt.  Anyway, here's a fix to the fix.

2000-06-27  Tom Tromey  <tromey@cygnus.com>

	* java/lang/Double.java (valueOf): Call parseDouble().

Tom

Index: java/lang/Double.java
===================================================================
RCS file: /cvs/java/libgcj/libjava/java/lang/Double.java,v
retrieving revision 1.4
diff -u -r1.4 Double.java
--- Double.java	2000/06/24 18:11:01	1.4
+++ Double.java	2000/06/27 18:33:57
@@ -112,7 +112,7 @@
     if (s == null)
       throw new NullPointerException ();
 
-    return new Double (doubleValueOf (s));
+    return new Double (parseDouble (s));
   }
 
   public boolean isNaN ()


More information about the Java-patches mailing list