ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58428] New: Java 5 fails to run jar file due to Zip64
Date Fri, 18 Sep 2015 14:22:09 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58428

            Bug ID: 58428
           Summary: Java 5 fails to run jar file due to Zip64
           Product: Ant
           Version: 1.9.4
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: msunde@tillnow.com

We have an empty jar file that is getting created, but fails to load in java
1.5. Bug 54762 introduced a flag to turn off the Zip64 functionality in jars,
but there appears to be a code path where it is not kicking in.

In Zip.java, there is a call to createEmptyZip() which is overwritten in
Jar.java. The implementation in Jar.java does:
zOut = new ZipOutputStream(getDestFile());

But is missing this line:
zOut.setUseZip64(zip64Mode.getMode());

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

Mime
View raw message