-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b15
java.util.Locale defines a number of constant Locale objects. Archiving these completely is appealing, but is problematic since they are mutable objects with several transient fields. Still, we can get most of the way there by archiving the constant BaseLocales these depend on.
This also opens up an opportunity to lazily initialize the Locale / BaseLocale Cache instances, which reduce class-loading.
This also opens up an opportunity to lazily initialize the Locale / BaseLocale Cache instances, which reduce class-loading.
- is blocked by
-
JDK-8221724 Enable archiving of Strings with hash 0
- Resolved