The specifications for the constructors in the classes java.util.zip.DeflatorOutputStream, InflatorInputStream, GZIPInputStream, and GZIPOutputStream have changed. The value of the integer size must now be greater than 0. If the value of size is less than or equal to zero an IllegalArgumentException will be thrown.
This affects the following JCK 1.1.x tests:
api/java_util/zip/InflaterInputStreamTest.html#InflaterIStream_ctorTest6
api/java_util/zip/GZIPInputStreamTest.html#GZIPIStream_ctorTest5
api/java_util/zip/GZIPOutputStreamTest.html#GZIPOStream_ctorTest4
This affects the following JCK 1.1.x tests:
api/java_util/zip/InflaterInputStreamTest.html#InflaterIStream_ctorTest6
api/java_util/zip/GZIPInputStreamTest.html#GZIPIStream_ctorTest5
api/java_util/zip/GZIPOutputStreamTest.html#GZIPOStream_ctorTest4
- relates to
-
JDK-4114746 document for java.util.zip.DeflaterOutputStream(OutputStream,Deflater,int) uncle
-
- Closed
-