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
bz-62686 Correctly handle compression level changes in ZipOutputStream
master
Jaikiran Pai
6 years ago
parent
6377dfcc1d
commit
c07bd86684
2 changed files
with
8 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
WHATSNEW
+4
-1
src/main/org/apache/tools/zip/ZipOutputStream.java
+ 4
- 0
WHATSNEW
View File
@@ -12,6 +12,10 @@ Fixed bugs:
instead of a IllegalStateException in the absence of the "id" attribute.
Bugzilla Report 62655
* org.apache.tools.zip.ZipOutputStream would sometimes potentially use
an incorrect compression level for a zip entry. This is now fixed.
Bugzilla Report 62686
Other changes:
--------------
* generatekey task now supports SubjectAlternativeName during key
+ 4
- 1
src/main/org/apache/tools/zip/ZipOutputStream.java
View File
@@ -867,7 +867,10 @@ public class ZipOutputStream extends FilterOutputStream {
throw new IllegalArgumentException("Invalid compression level: "
+ level);
}
hasCompressionLevelChanged = (this.level != level);
if (this.level == level) {
return;
}
hasCompressionLevelChanged = true;
this.level = level;
}
Write
Preview
Loading…
Cancel
Save