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

[lworld] Refactor java.time.ZoneOffset caching

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • repo-valhalla
    • core-libs

      ZoneOffset is a good candidate to be a Valhalla`value class` except that it has a non-final field that caches the ZoneRules that is initialized lazily.
      To defer initialization of the cache, some indirection will be needed.
      Perhaps a candidate for StableValues when it is final and integrated.

            Unassigned Unassigned
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: