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

Eirik Bjorsnos duke at openjdk.org
Tue Apr 18 18:26:31 UTC 2023


On Tue, 18 Apr 2023 18:19:20 GMT, Lance Andersen <lancea at openjdk.org> wrote:

> Do you know how the Zip in question is being created, is it via ApacheCommons and could there be an issue there?

Currently investigating. The Tomcat build is using the Ant `jar` task to create the `tomcat-embed-core.jar`, but then calls `zip` in update mode to update the jar with some Graal related files. This is where the ZIP64 extra fields get introduced.

I'll take a look at testing this PR with this Tomcat jar once I have a better understanding why the `zip` task introduces ZIP64.

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

PR Comment: https://git.openjdk.org/jdk/pull/12524#issuecomment-1513615536


More information about the core-libs-dev mailing list