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

Typo in javadoc of java.util.zip.ZipEntry#setTime

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 18
    • core-libs

    Description

      The javadoc of java.util.zip.ZipEntry#setTime(long time) currently states:

      "If the entry is output to a ZIP file or ZIP file formatted output stream the last modification time set by this method will be stored into the date and time fields of the zip file entry and encoded in standard MS-DOS date and time format. The default TimeZone is used to convert the epoch time to the MS-DOS data and time."

      The last sentence should instead be ".... MS-DOS date and time"

      Attachments

        Issue Links

          Activity

            People

              jpai Jaikiran Pai
              jpai Jaikiran Pai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: