RFR: 8068230: java.util.zip.Deflater.init throws InternalError

Ivan Gerasimov ivan.gerasimov at oracle.com
Fri Dec 26 08:58:51 UTC 2014


Some zlib-related tests fail on Solaris hosts, throwing InternalError 
with no detailed message.
This might be due to incompatible version of zlib library installed on 
the host.

To have a better diagnostics, it is proposed to specifically check for 
Z_VERSION_ERROR error code and issue a specific message in that case.

Would you please help review the fix?

BUGURL: https://bugs.openjdk.java.net/browse/JDK-8068230
WEBREV: http://cr.openjdk.java.net/~igerasim/8068230/0/webrev/

Sincerely yours,

More information about the core-libs-dev mailing list