Refactor Collections.emptyList() in Locale related classes

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: None
    • Component/s: core-libs
    • b07
    • generic
    • generic

      Discussed here: https://bugs.openjdk.org/browse/JDK-8357281?focusedId=14796714&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14796714

      There is one other location that has to be refactored too: https://github.com/openjdk/jdk/blob/6e203384f8777fc55081065b128bd2b0ba074729/src/java.base/share/classes/sun/util/locale/provider/LocaleServiceProviderPool.java#L392
      The latter is not affected by the CDS (probably not needed for the startup), but it is good to replace it with the modern alternative.

            Assignee:
            Naoto Sato
            Reporter:
            Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: