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

Archive constant BaseLocales

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: