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

(tz) TimeZone.getDisplayName(...) spec is inconsistent with implementation for unavailable locales

XMLWordPrintable

    • b116
    • generic
    • generic, windows_xp
    • Verified

        The spec for TimeZone.getDisplayName(...) says: "If the display name is not available for the locale, then this method returns a string in the normalized custom ID format."
        In fact the methods return TimeZone.getDisplayName(Locale.ENGLISH) for unavailable locales.

              okutsu Masayoshi Okutsu
              dmiltsov Dmitry Miltsov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: