Lazy conversion of ZipEntry time

XMLWordPrintable

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

        When reading java.util.zip.ZipEntry:s from a zip archive, java.util.zip.ZipUtils.dosToJavaTime is called eagerly.

        This forces initialization of deprecated java.util.Date utilities early in the startup to evaluate values.

        In practice the VM typically never look at the ZipEntry.getTime(). Preliminary testing shows this can have a positive impact on startup and VM footprint.

              Assignee:
              Xueming Shen
              Reporter:
              Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: