RFR: 8303866: Allow ZipInputStream.readEnd to parse small Zip64 ZIP files [v12]

Jaikiran Pai jpai at openjdk.org
Tue Jan 16 14:43:28 UTC 2024


On Tue, 16 Jan 2024 14:34:29 GMT, Eirik Bjørsnøs <eirbjo at openjdk.org> wrote:

>(These reads are from a temp buffer, not the stream)

Ah! you are right indeed. I didn't correctly read that part of that code. It's reading from a temp buffer which has been fully initialized with a LOC and these reads happens with specific offsets within that buffer. So yes, you are correct that the order won't matter here. Thank you for that detail.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/12524#discussion_r1453524828


More information about the core-libs-dev mailing list