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:17 UTC
[jira] Commented: (HARMONY-1027) [classlib][luni]
java.util.Locale.toString() returns wrong value
[ http://issues.apache.org/jira/browse/HARMONY-1027?page=comments#action_12426470 ]
spark shen commented on HARMONY-1027:
-------------------------------------
Hi Paulex,
The patch looks fine. Thank you.
Best regards
Spark Shen
> [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