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

Invalid language name for 'be' language

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: