On Tue, 13 Sep 2022 18:12:44 GMT, Lance Andersen <lan...@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 src/java.base/share/classes/java/util/zip/ZipInputStream.java line 65: > 63: * } > 64: * } > 65: * </pre> The updated class description looks okay. For the example then I assume you make this a code snippet. ------------- PR: https://git.openjdk.org/jdk/pull/10102