Skip to content
Permalink
Browse files

[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 774c54a652a063e06274b13c511997758ca6f762
Showing with 7 additions and 6 deletions.
  1. +6 −0 core/pom.xml
  2. +1 −6 core/src/main/java/hudson/FilePath.java
@@ -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>
@@ -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));
}
};

0 comments on commit 774c54a

Please sign in to comment.
You can’t perform that action at this time.