Request for approval: fix 4428022, System.out.println(0.001) outputs 0.0010 (original) (raw)

Joseph D. Darcy Joe.Darcy at Sun.COM
Mon May 25 22:09:00 UTC 2009


Alan Bateman wrote:

Andrew Haley wrote:

: OK, here it is. I put the test in java/lang/Double/ToString.java rather than sun/misc/FloatingDecimal because the bug manifested itself in Double.toString although the fix was in FloatingDecimal.dtoa.

I agree that test/java/lang/Double is the best place for this. All looks good to me (except minor nit, "String argv[]" -> "String[] args"). Joe, are you okay with this? -Alan.

Yes; the changes look fine for both releases.

Thanks,

-Joe



More information about the core-libs-dev mailing list