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

From-SVN: r34737
This commit is contained in:
Tom Tromey 2000-06-27 18:35:54 +00:00 committed by Tom Tromey
parent 4afdac6d1c
commit 260e1a2bb0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-06-27 Tom Tromey <tromey@cygnus.com>
* java/lang/Double.java (valueOf): Call parseDouble().
2000-06-26 Warren Levy <warrenl@cygnus.com>
* java/beans/PropertyChangeEvent.java (oldVal): Renamed to oldValue.

View File

@ -112,7 +112,7 @@ public final class Double extends Number
if (s == null)
throw new NullPointerException ();
return new Double (doubleValueOf (s));
return new Double (parseDouble (s));
}
public boolean isNaN ()