Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8251329 (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside
  3. JDK-8271517

Release Note: Zip File System Provider Throws ZipException when entry name element contains "." or "."

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: core-libs

      Description

      The ZIP file system provider has been changed to reject existing ZIP files that contain entries with "." or ".." in name elements. ZIP files with these entries can not be used as a file system. Invoking the `java.nio.file.FileSystems.newFileSystem(...)` methods will throw `ZipException` if the ZIP file contains these entries.

        Attachments

          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: