<i18n dev> [8]Request for Review: 8007038: ArrayIndexOutOfBoundsException on calling localizedDateTime().print() with JapaneseChrono

Naoto Sato naoto.sato at oracle.com
Wed Jan 30 18:49:05 PST 2013


I agree that there also is a problem in 310 side, but the bug I am 
trying to fix is the one in LocaleResources, which is independent of how 
310 code is calling into this getCalendarNames() method. 
LocaleResources.getCalendarNames() should return the calendar names for 
the specified calendar.

Naoto

On 1/30/13 6:01 PM, Masayoshi Okutsu wrote:
> It's not correct to use locale's calendar for the fix. The calendar type
> needs to be from the Chrono(logy) set to the formatter. The 310 code
> needs to be fixed.
>
> Thanks,
> Masayoshi
>
> On 1/31/2013 7:02 AM, Naoto Sato wrote:
>> Hello,
>>
>> Please review the following changes for 8007038:
>>
>> http://cr.openjdk.java.net/~naoto/8007038/webrev.00/
>>
>> The bug description can be found here:
>>
>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8007038
>>
>> The cause of the bug was that the calendar name provider
>> implementation did not take the Unicode -u extension into account.
>>
>> Naoto
>



More information about the i18n-dev mailing list