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: [email protected]
Reporter: [email protected]
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.