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

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P2
    • Resolution: Delivered
    • Affects Version/s: 11.0.4, 12.0.2, 13
    • Fix Version/s: 13
    • Component/s: core-libs

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: