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

Locale.US.getDisplayCountry() and getDisplayLanguage() returns wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1
    • 1.1
    • core-libs
    • None
    • 1.1fcs
    • generic, sparc
    • generic, solaris_2.5.1
    • Not verified



      Name: el35337 Date: 01/17/97



      The following program displays "Japan" and "Japanese" (in Kanji), in ja locale
      on Solaris. Locale.US may be implemented as default locale.

      import java.util.Locale;
      class US {
          public static void main(String a[]){
          System.out.println(Locale.US.getDisplayCountry());
          System.out.println(Locale.US.getDisplayLanguage());
          }
      }

      ###@###.###

      ======================================================================
      brian.beck@Eng 1997-02-14

            bcbeck Brian Beck (Inactive)
            elarsen Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: