eirbjo commented on issue #46:
URL: 
https://github.com/apache/tomcat-jakartaee-migration/issues/46#issuecomment-1513655682

   > It is also post-processed by BND.
   
   Commenting out the `add-graal` call makes the ZIP64 extra fields disappear. 
I have debugged the `zip` call, and `zip` in this case does indeed add the 
ZIP64 extra fields. This desicion is make in 
`ZipOutputStream.shouldAddZip64Extra`:
   
   
https://github.com/apache/ant/blob/master/src/main/org/apache/tools/zip/ZipOutputStream.java#L846
   
   It hits the last case which is that the `ZipEntry` size is -1 (unknown), the 
`ZipOutputStream` is writing to a `RandomAccessFile` and the configured mode is 
not `Zip64Mode.Never`
   
   If Tomcat does not want to produce such files, you could always overide the 
`zip64Mode` option to `never`, instead of the default `as-needed`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to