(lc) Improve Locale.getISO* methods and their tables

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • None
    • b36
    • generic
    • generic

      Those methods use comma-separated string tables for the 2-to-3 mapping. All commas can be eliminated from the tables and the methods can be simplified.

      Also the tables should be separated from Locale.java so that they are not loaded until they are really needed.

      Static fields isoLanguages and isoCountries should be volatile.

            Assignee:
            Masayoshi Okutsu
            Reporter:
            Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: