Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8278165

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 20
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: