--- old/src/java.base/share/native/libjli/parse_manifest.c 2015-11-03 19:11:18.308329814 +0000 +++ new/src/java.base/share/native/libjli/parse_manifest.c 2015-11-03 19:11:17.880329833 +0000 @@ -91,7 +91,7 @@ } zs.next_out = (Byte*)out; zs.avail_out = (uInt)entry->isize; - if (inflate(&zs, Z_PARTIAL_FLUSH) < 0) { + if (inflate(&zs, Z_FINISH) != Z_STREAM_END) { free(in); free(out); return (NULL);