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

Lazy conversion of ZipEntry time

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • None
    • core-libs
    • b54
    • generic
    • generic

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: