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

Lance Andersen lancea at openjdk.org
Tue Apr 18 18:30:58 UTC 2023


On Tue, 18 Apr 2023 18:24:01 GMT, Eirik Bjorsnos <duke 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.

Thank you Eirik, probably need to know which zip and which command line options are being used

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

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


More information about the core-libs-dev mailing list