From b8c73ae00cfdb13513694563e505268c5fbd2c44 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 17 Mar 2019 23:52:48 -0400 Subject: [PATCH] Fix IllegalStateException in TDeflater --- .../main/java/org/teavm/classlib/java/util/zip/TDeflater.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classlib/src/main/java/org/teavm/classlib/java/util/zip/TDeflater.java b/classlib/src/main/java/org/teavm/classlib/java/util/zip/TDeflater.java index 8ec395373..9f8b0d8b5 100644 --- a/classlib/src/main/java/org/teavm/classlib/java/util/zip/TDeflater.java +++ b/classlib/src/main/java/org/teavm/classlib/java/util/zip/TDeflater.java @@ -57,7 +57,7 @@ public class TDeflater { } compressLevel = level; try { - impl = new Deflater(compressLevel, strategy, noHeader); + impl = new Deflater(compressLevel, noHeader); } catch (GZIPException e) { // do nothing }