harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "spark shen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1043) [classlib][luni] java.util.Locale is lack of data
Date Wed, 02 Aug 2006 09:55:14 GMT
     [ 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

        

Mime
View raw message