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

Lazy conversion of ZipEntry time

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b54
    • CPU:
      generic
    • OS:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: