(zipfs) Add support for read-only zip file systems

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: None
    • Component/s: core-libs
    • b26

      jdk.nio.zipfs.ZipFileSystem does not currently support a way to explicitly ask for a read-only file system. You will sometimes be given a read-only file system (e.g. when the JAR source is multi-release) but you cannot force this to occur.

      Adding an `accessMode` environmental parameter with values `readOnly` and `readWrite` would permit an easy way for users to control how they access ZIP/JAR files.

            Assignee:
            David Beaumont
            Reporter:
            David Beaumont
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: