natDouble.cc (parseDouble): Renamed from doubleValueOf.
* java/lang/natDouble.cc (parseDouble): Renamed from doubleValueOf. * java/lang/Double.java (parseDouble): Renamed from doubleValueOf. Now public. From-SVN: r34679
This commit is contained in:
parent
78cf8279ac
commit
cf036e712c
@ -1,3 +1,10 @@
|
||||
2000-06-24 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* java/lang/natDouble.cc (parseDouble): Renamed from
|
||||
doubleValueOf.
|
||||
* java/lang/Double.java (parseDouble): Renamed from
|
||||
doubleValueOf. Now public.
|
||||
|
||||
2000-06-23 Andrew Haley <aph@cygnus.com>
|
||||
|
||||
* java/lang/ieeefp.h: Handle ia64, fr30, mcore.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1998, 1999 Free Software Foundation
|
||||
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
@ -32,8 +32,8 @@ public final class Double extends Number
|
||||
|
||||
private double value;
|
||||
|
||||
private native static double doubleValueOf (String s)
|
||||
throws NumberFormatException;
|
||||
public native static double parseDouble (String s)
|
||||
throws NumberFormatException;
|
||||
|
||||
public Double (double v)
|
||||
{
|
||||
|
@ -151,7 +151,7 @@ java::lang::Double::toString(jdouble value, jboolean isFloat)
|
||||
}
|
||||
|
||||
jdouble
|
||||
java::lang::Double::doubleValueOf(jstring str)
|
||||
java::lang::Double::parseDouble(jstring str)
|
||||
{
|
||||
int length = str->length();
|
||||
// Note that UTF can expand 3x.
|
||||
|
Loading…
Reference in New Issue
Block a user