Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-19473] Removing workaround since root bug should be fixed in…
… jzlib 1.1.3.

(cherry picked from commit 8deb42b)
  • Loading branch information
jglick authored and olivergondza committed Dec 8, 2013
1 parent 3286d96 commit 774c54a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 6 additions & 0 deletions core/pom.xml
Expand Up @@ -583,6 +583,12 @@ THE SOFTWARE.
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<!-- TODO overridden until Stapler 1.220 -->

This comment has been minimized.

Copy link
@jglick

jglick Feb 18, 2014

Author Member

Misleading comment, corrected in master.

<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jzlib</artifactId>
<version>1.1.3</version>
</dependency>
</dependencies>

<build>
Expand Down
7 changes: 1 addition & 6 deletions core/src/main/java/hudson/FilePath.java
Expand Up @@ -634,12 +634,7 @@ public InputStream extract(InputStream _in) throws IOException {
}
}
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));
}
};

Expand Down

0 comments on commit 774c54a

Please sign in to comment.