Clarify that ZipInputStream does not access the CEN fields for a ZipEntry

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 20
    • Affects Version/s: None
    • Component/s: core-libs

      When reading a zip file using ZipInputStream, POSIX permissions are ignored. In contrast, if the zip file is opened using ZipFile, the POSIX permissions are properly read.

      This contrasting behavior is not documented, which makes it hard for a developer to understand that using ZipInputStream will result in broken code, but using ZipFile will not.

            Assignee:
            Lance Andersen
            Reporter:
            Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: