diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 6efc732891a..ba0d8586dd3 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2000-06-27 Tom Tromey + + * java/lang/Double.java (valueOf): Call parseDouble(). + 2000-06-26 Warren Levy * java/beans/PropertyChangeEvent.java (oldVal): Renamed to oldValue. diff --git a/libjava/java/lang/Double.java b/libjava/java/lang/Double.java index e62292415b9..cb8fd9551d5 100644 --- a/libjava/java/lang/Double.java +++ b/libjava/java/lang/Double.java @@ -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 ()