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/02 11:55:14 UTC

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

     [ http://issues.apache.org/jira/browse/HARMONY-1043?page=all ]

spark shen updated HARMONY-1043:
--------------------------------

    Attachment: harmony-1043.diff

Would you please verify this patch?

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
>            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