You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "spark shen (JIRA)" <ji...@apache.org> on 2006/08/08 08:47:20 UTC

[jira] Commented: (HARMONY-1043) [classlib][luni] java.util.Locale is lack of data

    [ http://issues.apache.org/jira/browse/HARMONY-1043?page=comments#action_12426472 ] 
            
spark shen commented on HARMONY-1043:
-------------------------------------

Hi Paulex,
The patch looks fine. Thank you.

Best regards
Spark Shen

> [classlib][luni] java.util.Locale is lack of data
> -------------------------------------------------
>
>                 Key: HARMONY-1043
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1043
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: spark shen
>         Assigned To: Paulex Yang
>            Priority: Minor
>         Attachments: harmony-1043.diff
>
>
> java.util.Locale is lack of data about the country "CD" and Language
> "ae"
> Testcase: 
>     public void test_Locale_getISO3Country() {
>         Locale l = new Locale("", "CD");
>         assertEquals("COD", l.getISO3Country());
>     }
>     public void test_Locale_ISO3Languages(){
>         Locale l = new Locale("ae");
>         assertEquals("ave", l.getISO3Language());
>     }
> Result: 
>     RI 5.0 passes this test, but Harmony throws MissingResourceException.
> I will attach a patch to fix this bug soon.
> Best regards,
> Spark Shen

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira