[loc-en-dev] Regression - patch

Yoshito Umaoka y.umaoka at gmail.com
Wed Sep 22 13:24:37 PDT 2010


I'm attaching the patch in this message.

The change in BaseLocale is not required, but I want to make the 
consistent behavior -

- Locale throws NPE when any locale field argument in the constructor is 
null.
- BaseLocale#getInstance accepts null argument for all fields.


Thanks,
Yoshito

On 09/21/2010 02:53 PM, Naoto Sato wrote:
> You can just post the diff here (I guess it's small), and I'll review 
> it and push it when it's ready.
>
> Naoto
>
> (9/21/10 11:54 AM), Yoshito Umaoka wrote:
>> I see. How can we provide a fix?
>>
>> On Tue, Sep 21, 2010 at 2:46 PM, Naoto Sato<naoto.sato at oracle.com>  
>> wrote:
>>> Looks like one of the test teams found a regression. The constructor
>>> Locale(lang, ctry, null) does not throw an NPE anymore.
>>>
>>> Naoto
>>>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: LocNPE.patch
Type: text/x-patch
Size: 1855 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/locale-enhancement-dev/attachments/20100922/98cb572a/attachment.bin 


More information about the locale-enhancement-dev mailing list