harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [jira] Resolved: (HARMONY-2953) [luni][util]Locale lacks some ISO countries and languages.
Date Wed, 10 Jan 2007 12:55:21 GMT
I have applied Leo's patch to the Locale info to get him working again,
but the original data in those classes comes from the CLDR.

We can either recreate the Java code based on the latest version of CLDR
data, or (my preference, though not yet investigated) is to ditch them
and get the info from the ICU data files that we are already dependent upon.

Thoughts?
Tim


Tim Ellison (JIRA) wrote:
> 
> Tim Ellison resolved HARMONY-2953.
> ----------------------------------
> 
>     Resolution: Fixed
> 
> Thanks Leo.
> 
> Patch applied to LUNI module at repo revision r494397.
> 
> Please check that it was applied as you expected.
> 
>
> The patch should get you going again, but the locale info is
> maintained external to the Harmony project, I'll raise a discussion
> on the dev list about that.
> 
> 
>> [luni][util]Locale lacks some ISO countries and languages.
>> ----------------------------------------------------------
>>
>>                 Key: HARMONY-2953
>>                 URL: https://issues.apache.org/jira/browse/HARMONY-2953
>>             Project: Harmony
>>          Issue Type: Bug
>>            Reporter: Leo Li
>>         Assigned To: Tim Ellison
>>         Attachments: patch-2953.diff
>>
>>
>> public void test()
>> {
>> Locale locale = new Locale("an");
>> assertEquals("arg",locale.getISO3Language());
>> List<String> languages = Arrays.asList(Locale.getISOLanguages());
>> assertTrue(languages.contains("ak"));
>> }
> 

Mime
View raw message