Locale.getISOCountries does not specify the returned set is unmodifiable

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 25
    • Component/s: core-libs
    • b26
    • generic
    • generic

      Locale.getISOCountries(Locale.IsoCountryCode type) can return up to three different sets (depending on the input enum type). All of these sets are unmodifiable, and this behavior should be documented in the specification.

      See comment below for behavior that confirms the sets are unmodifiable.

            Assignee:
            Justin Lu
            Reporter:
            Justin Lu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: