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/11 05:10:13 UTC
[jira] Created: (HARMONY-1146) [classlib][luni] java.util.Locale
lacks of country and language data
[classlib][luni] java.util.Locale lacks of country and language data
--------------------------------------------------------------------
Key: HARMONY-1146
URL: http://issues.apache.org/jira/browse/HARMONY-1146
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: spark shen
Priority: Minor
The following test cases will demonstrate.
Testcase
public void test_getISO3Language() {
Locale l_CountryCS = new Locale("", "CS");
assertEquals("SCG", l_CountryCS.getISO3Country());
}
public void test_getDisplayCountry() {
Locale l_countryCD = new Locale("", "CD");
assertEquals("The Democratic Republic Of Congo",
l_countryCD.getDisplayCountry());
}
public void test_getDisplayLanguage() {
Locale l_languageAE = new Locale("ae", "");
assertEquals("Avestan", l_languageAE.getDisplayLanguage());
}
Result: RI passed
Harmony failed
I will attach a patch to fix this problem.
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
[jira] Assigned: (HARMONY-1146) [classlib][luni] java.util.Locale
lacks of country and language data
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1146?page=all ]
Paulex Yang reassigned HARMONY-1146:
------------------------------------
Assignee: Paulex Yang
> [classlib][luni] java.util.Locale lacks of country and language data
> --------------------------------------------------------------------
>
> Key: HARMONY-1146
> URL: http://issues.apache.org/jira/browse/HARMONY-1146
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Assigned To: Paulex Yang
> Priority: Minor
> Attachments: harmony-1146.diff
>
>
> The following test cases will demonstrate.
> Testcase
> public void test_getISO3Language() {
> Locale l_CountryCS = new Locale("", "CS");
> assertEquals("SCG", l_CountryCS.getISO3Country());
> }
> public void test_getDisplayCountry() {
> Locale l_countryCD = new Locale("", "CD");
> assertEquals("The Democratic Republic Of Congo",
> l_countryCD.getDisplayCountry());
> }
> public void test_getDisplayLanguage() {
> Locale l_languageAE = new Locale("ae", "");
> assertEquals("Avestan", l_languageAE.getDisplayLanguage());
> }
> Result: RI passed
> Harmony failed
> I will attach a patch to fix this problem.
> 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
[jira] Resolved: (HARMONY-1146) [classlib][luni] java.util.Locale
lacks of country and language data
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1146?page=all ]
Paulex Yang resolved HARMONY-1146.
----------------------------------
Resolution: Fixed
Spark, patch applied at revision r431538, thanks a lot for this enhancement, please verify that the problem is fully fixed as you expected.
> [classlib][luni] java.util.Locale lacks of country and language data
> --------------------------------------------------------------------
>
> Key: HARMONY-1146
> URL: http://issues.apache.org/jira/browse/HARMONY-1146
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Assigned To: Paulex Yang
> Priority: Minor
> Attachments: harmony-1146.diff
>
>
> The following test cases will demonstrate.
> Testcase
> public void test_getISO3Language() {
> Locale l_CountryCS = new Locale("", "CS");
> assertEquals("SCG", l_CountryCS.getISO3Country());
> }
> public void test_getDisplayCountry() {
> Locale l_countryCD = new Locale("", "CD");
> assertEquals("The Democratic Republic Of Congo",
> l_countryCD.getDisplayCountry());
> }
> public void test_getDisplayLanguage() {
> Locale l_languageAE = new Locale("ae", "");
> assertEquals("Avestan", l_languageAE.getDisplayLanguage());
> }
> Result: RI passed
> Harmony failed
> I will attach a patch to fix this problem.
> 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
[jira] Closed: (HARMONY-1146) [classlib][luni] java.util.Locale
lacks of country and language data
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1146?page=all ]
Paulex Yang closed HARMONY-1146.
--------------------------------
> [classlib][luni] java.util.Locale lacks of country and language data
> --------------------------------------------------------------------
>
> Key: HARMONY-1146
> URL: http://issues.apache.org/jira/browse/HARMONY-1146
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Assigned To: Paulex Yang
> Priority: Minor
> Attachments: harmony-1146.diff
>
>
> The following test cases will demonstrate.
> Testcase
> public void test_getISO3Language() {
> Locale l_CountryCS = new Locale("", "CS");
> assertEquals("SCG", l_CountryCS.getISO3Country());
> }
> public void test_getDisplayCountry() {
> Locale l_countryCD = new Locale("", "CD");
> assertEquals("The Democratic Republic Of Congo",
> l_countryCD.getDisplayCountry());
> }
> public void test_getDisplayLanguage() {
> Locale l_languageAE = new Locale("ae", "");
> assertEquals("Avestan", l_languageAE.getDisplayLanguage());
> }
> Result: RI passed
> Harmony failed
> I will attach a patch to fix this problem.
> 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
[jira] Updated: (HARMONY-1146) [classlib][luni] java.util.Locale
lacks of country and language data
Posted by "spark shen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1146?page=all ]
spark shen updated HARMONY-1146:
--------------------------------
Attachment: harmony-1146.diff
Would you please try this patch?
Best regards
Spark Shen
> [classlib][luni] java.util.Locale lacks of country and language data
> --------------------------------------------------------------------
>
> Key: HARMONY-1146
> URL: http://issues.apache.org/jira/browse/HARMONY-1146
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Priority: Minor
> Attachments: harmony-1146.diff
>
>
> The following test cases will demonstrate.
> Testcase
> public void test_getISO3Language() {
> Locale l_CountryCS = new Locale("", "CS");
> assertEquals("SCG", l_CountryCS.getISO3Country());
> }
> public void test_getDisplayCountry() {
> Locale l_countryCD = new Locale("", "CD");
> assertEquals("The Democratic Republic Of Congo",
> l_countryCD.getDisplayCountry());
> }
> public void test_getDisplayLanguage() {
> Locale l_languageAE = new Locale("ae", "");
> assertEquals("Avestan", l_languageAE.getDisplayLanguage());
> }
> Result: RI passed
> Harmony failed
> I will attach a patch to fix this problem.
> 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
[jira] Commented: (HARMONY-1146) [classlib][luni] java.util.Locale
lacks of country and language data
Posted by "spark shen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1146?page=comments#action_12428297 ]
spark shen commented on HARMONY-1146:
-------------------------------------
Hi paulex, the patch works fine. Thank you.
> [classlib][luni] java.util.Locale lacks of country and language data
> --------------------------------------------------------------------
>
> Key: HARMONY-1146
> URL: http://issues.apache.org/jira/browse/HARMONY-1146
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Assigned To: Paulex Yang
> Priority: Minor
> Attachments: harmony-1146.diff
>
>
> The following test cases will demonstrate.
> Testcase
> public void test_getISO3Language() {
> Locale l_CountryCS = new Locale("", "CS");
> assertEquals("SCG", l_CountryCS.getISO3Country());
> }
> public void test_getDisplayCountry() {
> Locale l_countryCD = new Locale("", "CD");
> assertEquals("The Democratic Republic Of Congo",
> l_countryCD.getDisplayCountry());
> }
> public void test_getDisplayLanguage() {
> Locale l_languageAE = new Locale("ae", "");
> assertEquals("Avestan", l_languageAE.getDisplayLanguage());
> }
> Result: RI passed
> Harmony failed
> I will attach a patch to fix this problem.
> 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