On 03/31/2013 02:20 PM, Stefan Bodewig wrote:
compressing to a temporary buffer perhaps?
We do so for STORED entries and risk OutOfMemoryExceptions (we could
throw away the buffer and just count). The performance impact would be
non-trivial for big files, which is what Zip64 really is about.
Do you know when you start the entry how big it is _uncompressed_? If so, you could say that for anything largish, just compress to a temporary file, and then write the
entry from that.
Not sure if such hacks are worth the effort just to support Java 5, which is
long past EOL anyway.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org