This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
ant
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
1
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
<jar> ignores zip64Mode for manifest-only jars
Bugzilla Report 58428
master
Stefan Bodewig
10 years ago
parent
a76cf99ddd
commit
76455a35cb
2 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
WHATSNEW
+1
-0
src/main/org/apache/tools/ant/taskdefs/Jar.java
+ 5
- 0
WHATSNEW
View File
@@ -14,6 +14,11 @@ Fixed bugs:
* <gunzip> and <bunzip2> didn't work for non-filesystem resources.
* <jar> ignored the zip64Mode attribute when creating manifest-only
jars. This resulted in jar files that couldn't be read by Java5.
Bugzilla Report 58428
Other changes:
--------------
+ 1
- 0
src/main/org/apache/tools/ant/taskdefs/Jar.java
View File
@@ -914,6 +914,7 @@ public class Jar extends Zip {
zOut = new ZipOutputStream(getDestFile());
zOut.setEncoding(getEncoding());
zOut.setUseZip64(getZip64Mode().getMode());
if (isCompress()) {
zOut.setMethod(ZipOutputStream.DEFLATED);
} else {
Write
Preview
Loading…
Cancel
Save