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

ZipOutStream::putEntry should include an apiNote to indicate that the STORED compression method should be used when writing directory entries

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • None
    • core-libs

      ZipOutputStream defaults to the DEFLATED compression method unless specifically specified by the ZiPEntry being written or by calling ZipOuputStream::setMethod

       Most Zip Tools create directory entries using the STORED compression
      method which also appears to be more performant.

      To encourage the use of STORED compression method for directory entries,
       the ZipOutputStream.putNextEntry should be updated with an @apiNote recommending its use.

            eirbjo Eirik Bjørsnøs
            lancea Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: