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

Refactor Collections.emptyList() in Locale related classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • None
    • core-libs
    • master
    • 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.

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

              Created:
              Updated:
              Resolved: