harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1027) [classlib][luni] java.util.Locale.toString() returns wrong value
Date Wed, 09 Aug 2006 02:11:18 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1027?page=all ]

Paulex Yang closed HARMONY-1027.
--------------------------------


Verified by Spark.

> [classlib][luni] java.util.Locale.toString() returns wrong value
> ----------------------------------------------------------------
>
>                 Key: HARMONY-1027
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1027
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: spark shen
>         Assigned To: Paulex Yang
>         Attachments: harmony-1027.diff
>
>
> If the languageCode and countryCode of the locale both equal "" and the
> variantCode does not equal "", method java.util.Locale.toString() should return
> "". But Harmony returns wrong value.
> The following test case gives a hint.
>     public void test_Locale_toString() {
>         Locale var = new Locale("", "", "var");
>         assertEquals("", var.toString());
>     }
> This test case will pass on RI, but will fail on Harmony. 
> I will attach a patch to fix this problem soon.
> Best regard,
> 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