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

Lance Andersen lancea at openjdk.org
Tue Sep 13 17:29:57 UTC 2022


Hi,

Please review this update to the ZipInputStream class description to clarify that ZipInputStream walks sequentially through each Zip Entry contained within the Zip File.  As a result, the CEN header for the Zip file entries are not read resulting in ZipInputStream not having access to information that is stored within the CEN Header fields such the as the external file attributes which can be used to store optional data such as Posix Permissions.

-------------

Commit messages:
 - Merge branch 'JDK-8278165' of https://github.com/LanceAndersen/jdk into JDK-8278165
 - Merge branch 'openjdk:master' into JDK-8278165
 - add extra space
 - removed extra space
 - Minor updates to the LOC description
 - Merge branch 'master' into JDK-8278165
 - Second pass at updating the class description
 - Minor update to the wording
 - Inital draft to clarify ZipInputStream does not access the CEN fields

Changes: https://git.openjdk.org/jdk/pull/10102/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10102&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8278165
  Stats: 30 lines in 1 file changed: 27 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/10102.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10102/head:pull/10102

PR: https://git.openjdk.org/jdk/pull/10102


More information about the core-libs-dev mailing list