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

java doc for java.util.Locale.getDisplayCountry has mistakes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • core-libs
    • None
    • b38
    • generic
    • generic

      The java doc for Locale.getDisplayCountry is as follows:
      ------------
      For example, if the locale is fr_FR and the default locale is en_US, getDisplayCountry() will return "France"; if the locale is en_US and the default locale is fr_FR, getDisplayLanguage() will return "Etats-Unis".
      -----------
      "getDisplayLanguage()" should actually be "getDisplayCountry()". Similar mistakes in the overrided methods.
      ###@###.### 2005-04-21 00:39:38 GMT

            naoto Naoto Sato
            xlu Xiaobin Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: