Hi

building the compress antlib in Gump fails (and has been failing for a
few days but I didn't notice):

http://vmgump.apache.org/gump/public/antlibs-compress/compress-antlib-test/gump_work/build_antlibs-compress_compress-antlib-test.html

The test creates a ZIP with a single 5GB entry and then asserts it can
locate the entry inside the archive:

java.util.zip.ZipException: archive's ZIP64 end of central directory locator is 
corrupt.
  at 
org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory64(ZipFile.java:812)
  at 
org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:791)
  at 
org.apache.commons.compress.archivers.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:519)
  at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:216)
  at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:192)
  at 
org.apache.ant.compress.resources.ZipResource.fetchEntry(ZipResource.java:175)

$ zip -Tv /tmp/testoutput/test.zip
zip warning: Zip64 EOCDR not found where expected - compensating
zip warning: (try -A to adjust offsets)
zip warning: expected 1 entries but found 0

I'll try to reproduce this as a unit test for compress later today, just
wanted to send an early heads up.

Stefan

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

Reply via email to