* 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

@ -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 ()