* java/lang/Double.java (valueOf): Call parseDouble().
From-SVN: r34737
This commit is contained in:
parent
4afdac6d1c
commit
260e1a2bb0
2 changed files with 5 additions and 1 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue