提交 8deb42bf 编写于 作者: J Jesse Glick

[JENKINS-19473] Removing workaround since root bug should be fixed in jzlib 1.1.3.

上级 f98070d3
......@@ -583,6 +583,12 @@ THE SOFTWARE.
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<!-- TODO overridden until Stapler 1.220 -->
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jzlib</artifactId>
<version>1.1.3</version>
</dependency>
</dependencies>
<build>
......
......@@ -635,12 +635,7 @@ public final class FilePath implements Serializable {
}
}
public OutputStream compress(OutputStream out) throws IOException {
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
);
return new GZIPOutputStream(new BufferedOutputStream(out));
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册