RFR for 8043740 (Doubles with large exponents overflow to Infinity incorrectly) (original) (raw)

Sandipan Razzaque me at sandipan.net
Mon Jun 2 02:55:42 UTC 2014


Hi Brian/all,

Fix for the above-mentioned bug is complete. If you (or anyone else as appropriate) could please review the changes and let me know of your comments that would be great!

Link for the webrev:

http://www.sandipan.net/public/webrevs/8043740/webrev.00/

The patch is inlined below my signature.

Cheers, SR

--- old/src/share/classes/sun/misc/FloatingDecimal.java 2014-06-01 22:33:34.947651253 -0400 +++ new/src/share/classes/sun/misc/FloatingDecimal.java 2014-06-01 22:33:34.827651251 -0400 @@ -1992,7 +1992,10 @@ break expLoop; // stop parsing exponent. } }

--- /dev/null 2014-05-28 21:22:08.061671015 -0400 +++ new/test/java/lang/Double/Bug8043740.java 2014-06-01 22:33:35.227651260 -0400 @@ -0,0 +1,40 @@ +/*



More information about the core-libs-dev mailing list