Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8229887 (zipfs) zip file corruption when replacing an existing STORED entry
  3. JDK-8230045

Release Note: Using the ZIP File System (zipfs) Provider to Update a ZIP or JAR File Containing Uncompressed Entries Might Corrupt the File

XMLWordPrintable

        Using the ZIP File System (`zipfs`) to update a JAR or ZIP file might corrupt that file. Corruption occurs only if the JAR or ZIP file contains a non-compressed entry. If the JAR or ZIP file contains only compressed entries, as is typical, then no data corruption occurs.

        As a workaround, users can use the `jar` tool or the `java.util.zip` API to update JAR or ZIP files that contain non-compressed entries.

              lancea Lance Andersen
              lancea Lance Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: