Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6487141

Invalid language name for 'be' language

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: globalization

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0-beta2"
      Java(TM) SE Runtime Environment (build 1.6.0-beta2-b86)
      Java HotSpot(TM) Client VM (build 1.6.0-beta2-b86, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      Locale returns invalid language name for language 'be'.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      just execute Locale.getDisplayName():

      public class test {
          public static void main(String[] args) {
              System.out.println(new Locale("be").getDisplayLanguage(new Locale("be")));
          }
      }

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      public class test {
          public static void main(String[] args) {
              System.out.println(new Locale("be").getDisplayLanguage(new Locale("be")));
          }
      }
      ---------- END SOURCE ----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jtusla Jiri Tusla (Inactive)
              Reporter:
              ndcosta Nelson Dcosta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: