java.time.ZoneId.systemDefault() should be faster

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: core-libs
    • 8
    • b66

        Obtaining default system ZoneId is a frequent call. It should have as little overhead as possible. This call is implemented as: TimeZone.getDefault().toZoneId(), so the opportunity is to cache the instance inside default TimeZone instance.

              Assignee:
              Peter Levart
              Reporter:
              Peter Levart
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: