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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
    • Resolved In Build:
      b116
    • CPU:
      generic
    • OS:
      generic, windows_xp
    • Verification:
      Verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: