Left out while checking in java/lang/natDouble.cc (parseDouble) change.
authorPer Bothner <bothner@gcc.gnu.org>
Sat, 24 Mar 2001 04:00:30 +0000 (20:00 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sat, 24 Mar 2001 04:00:30 +0000 (20:00 -0800)
From-SVN: r40811

libjava/ChangeLog

index e8d5d614cccd6efde2d6466283ed4b756a4507d5..d68ec70734a6fdc5d6121e0383d58f713b544848 100644 (file)
@@ -1,5 +1,10 @@
 2001-03-23  Per Bothner  <per@bothner.com>
 
+       * java/lang/natDouble.cc (parseDouble):  Cannot use errno to
+       check for errors, since we don't want to throw exception on
+       overflow/underflow.  Instead, trim whitespace, and then check that
+       _strtod_r uses up all the rest of the string.
+
        * java/lang/natClass.cc (_Jv_IsAssignableFrom):  Checking the
        ancestors array is invalid for interfaces, so do that *after*
        check that the target type is not an interface.