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

Brian Burkhalter bpb at openjdk.org
Tue Sep 13 18:28:41 UTC 2022


On Tue, 13 Sep 2022 18:12:44 GMT, Lance Andersen <lancea at openjdk.org> wrote:

>> 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.
>
> Lance Andersen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Address sample indentation and typo

Looks fine.

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

Marked as reviewed by bpb (Reviewer).

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


More information about the core-libs-dev mailing list