You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Paulex Yang (JIRA)" <ji...@apache.org> on 2006/08/02 05:13:23 UTC

[jira] Assigned: (HARMONY-1027) [classlib][luni] java.util.Locale.toString() returns wrong value

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

Paulex Yang reassigned HARMONY-1027:
------------------------------------

    Assignee: Paulex Yang

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