RFR 6469160: (fmt) general (%g) formatting of zero (0.0) with precision 0 or 1 throws ArrayOutOfBoundsException (original) (raw)

Brian Burkhalter brian.burkhalter at oracle.com
Mon Jun 24 18:04:36 UTC 2013


Hi Joe,

On Jun 21, 2013, at 8:14 PM, Joe Darcy wrote:

Hi Brian,

What is the expected behavior on signed zero files?

I assume you intend "values."

I think they should be added to the test cases.

Done starting at line 1180 here:

http://cr.openjdk.java.net/~bpb/6469160/test/java/util/Formatter/Basic-X.java.template.html

Thanks,

Brian

-Joe

On 6/21/2013 2:13 PM, Brian Burkhalter wrote: Please review the patch

http://cr.openjdk.java.net/~bpb/6469160/ which fixes http://bugs.sun.com/bugdatabase/viewbug.do?bugid=6469160 The problem affects only general formatting (%g) of zero values and the code is modified to handle zero as a special case. Thanks, Brian



More information about the core-libs-dev mailing list