This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: fix for Double.java
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: fix for Double.java
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 27 Jun 2000 12:43:34 -0600
- Reply-To: tromey at cygnus dot com
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 ()