You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tony Wu (JIRA)" <ji...@apache.org> on 2007/07/10 16:38:05 UTC

[jira] Assigned: (HARMONY-4402) [classlib][luni] Locale("no", "NO").getDisplayLanguage() returns upper-case value instead of lower-case if localized for Norwegian locale

     [ https://issues.apache.org/jira/browse/HARMONY-4402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tony Wu reassigned HARMONY-4402:
--------------------------------

    Assignee: Tony Wu

> [classlib][luni] Locale("no", "NO").getDisplayLanguage() returns upper-case value instead of lower-case if localized for Norwegian locale
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4402
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4402
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Elena Sayapina
>            Assignee: Tony Wu
>            Priority: Trivial
>
> Locale("no", "NO").getDisplayLanguage() returns upper-case value instead of lower-case for Norwegian language if localized for Norwegian locale.
> "Norwegian" on Norwegian language is written as lower-case "norsk".
> Please, consider the following simple code:
> import java.util.Locale;
> public class languageNameTest {
> 	public static void main(String[] args) {
> 		 Locale locale = new Locale("no", "NO");
> 		 Locale.setDefault(locale);
> 		 System.out.println(locale.getDisplayLanguage());
> 	}
> }
> Output on Harmony-r552422:
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
> as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r552422, (Jul  2 2007), Windows/ia32/msvc 1310, release build
> http://harmony.apache.org
> Norsk
> Output on RI:
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)
> norsk

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.