--- a/jdk/src/java.base/share/native/libzip/zlib/patches/ChangeLog_java Thu Jul 13 19:34:42 2017 +0000
+++ b/jdk/src/java.base/share/native/libzip/zlib/patches/ChangeLog_java Mon Jul 17 14:48:43 2017 -0700
@@ -76,6 +76,21 @@
> n = len;
--------------------------
+(6) deflate.c #8184306
+*** 503,512 ****
+--- 503,514 ----
+
+ s = (deflate_state *)strm->state;
+ s->pending = 0;
+ s->pending_out = s->pending_buf;
+
++ s->high_water = 0; /* reset to its inital value 0 */
++
+ if (s->wrap < 0) {
+ s->wrap = -s->wrap; /* was made negative by deflate(..., Z_FINISH); */
+ }
+ s->status =
+ #ifdef GZIP