-
Bug
-
Resolution: Fixed
-
P4
-
None
-
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.
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.
- duplicates
-
JDK-8361718 Use `List.of()` in Locale.LanguageTag.EMPTY_SUBTAGS for CDS
-
- Closed
-
- relates to
-
JDK-8357281 sun.util.Locale.LanguageTag should be immutable
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/f5afbbd3
-
Review(master) openjdk/jdk/26225