RFR 6469160: (fmt) general (%g) formatting of zero (0.0) with precision 0 or 1 throws ArrayOutOfBoundsException
Joe Darcy
joe.darcy at oracle.com
Mon Jun 24 20:53:14 UTC 2013
Hi Brian,
On 6/24/2013 11:04 AM, Brian Burkhalter wrote:
> 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."
Correct :-)
>
>> 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
Look good; thanks,
-Joe
>
> 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/view_bug.do?bug_id=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