ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 42940] Zip ExtraField header size is hard coded as 4 bytes
Date Fri, 18 Jul 2008 08:25:43 GMT

--- Comment #1 from Stefan Bodewig <>  2008-07-18 01:25:43 PST ---
Well, Ant doesn't implement the full ZIP specification, and certainly not the
latest version of it.  When I wrote ZipOutputStream, I used the 970311 appnote
which is referenced from's Javadocs.

Even there there only is a note saying headers should follow a given format,
but not a must.  I'll open a separate enhancement request to make Ant use more
of the newer specs (like Unicode flags and ZIP64 support) and make this one
depend on it.

Will these other tools use the full format (ID + two bytes of size) in the
central directory entry?  I wonder how - parsing the LFH - one will know
whether the two bytes following the header id are a length or the next extra
field header.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message