-
Sub-task
-
Resolution: Delivered
-
P4
-
15
-
Verified
`InflaterOutputStream(OutputStream out, Inflater infl, int bufLen)` allows for specifying the decompressor and buffer size to be used.
`InflaterOutputStream.write(byte[] b, int off, int len)` was writing data using a max buffer size of 512 bytes.
Starting with JDK 15 the buffer size specified via `InflaterOutputStream(OutputStream out, Inflater infl, int bufLen)` will be used in calls to `InflaterOutputStream.write(byte[] b, int off, int len)`. If the buffer size is not specified when invoking the `InflaterOutputStream `constructor, it will default to 512 bytes.
`InflaterOutputStream.write(byte[] b, int off, int len)` was writing data using a max buffer size of 512 bytes.
Starting with JDK 15 the buffer size specified via `InflaterOutputStream(OutputStream out, Inflater infl, int bufLen)` will be used in calls to `InflaterOutputStream.write(byte[] b, int off, int len)`. If the buffer size is not specified when invoking the `InflaterOutputStream `constructor, it will default to 512 bytes.