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:
Tom Tromey 2000-06-24 18:11:01 +00:00 committed by Tom Tromey
parent 78cf8279ac
commit cf036e712c
3 changed files with 11 additions and 4 deletions

View File

@ -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.

View File

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

View File

@ -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.