mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
[FIXED JENKINS-19473] Trying to work around jzlib bug.
This commit is contained in:
1 parent
96187b71e7
commit
b02d45737e
2 files changed
+9
-2
No files matched your search
@@ -632,7 +632,12 @@ public final class FilePath implements Serializable {
|
||||
}
|
||||
}
|
||||
public OutputStream compress(OutputStream out) throws IOException {
|
||||
return new GZIPOutputStream(new BufferedOutputStream(out));
|
||||
return new GZIPOutputStream(new BufferedOutputStream(out),
|
||||
// TODO JENKINS-19473 workaround; replace when jzlib fixed
|
||||
new com.jcraft.jzlib.Deflater(6, 15+16, 9), // use 9 for memLevel
|
||||
512,
|
||||
true
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user