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

problems of some methods of Locale.

    Details

      Description


      Name: jh38747 Date: 01/21/98

      JDK version:1.1.6.

      In class Locale, some methods work different from previous version under Locale zh. They are:
      getDisplayCountry(), getISO3Country,
                              1.1.3 1.1.6
      getDisplayCountry Öйú
      getISO3Country CHN
      getISO3Language chs cho


      ==========================t3.java============================

      import java.util.Locale;

      public class t3 {
      public static void main(String args[]) {
      Locale myLocale = new Locale("zh", "", "");
      System.out.println(myLocale.getDisplayCountry());
      System.out.println(myLocale.getISO3Country());
      System.out.println(myLocale.getISO3Language());
      }
      }

      jim.hu@prc 1998-01-21

        Attachments

          Activity

            People

            • Assignee:
              rgillamsunw Richard Gillam (Inactive)
              Reporter:
              jhusunw Jim Hu (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: