RFR JDK-8133170 : Deflater.deflate with small output buffers fails

Brian Burkhalter brian.burkhalter at oracle.com
Thu Jul 7 19:40:01 UTC 2016


This looks reasonable. +1.

Brian

On Jul 7, 2016, at 12:13 PM, Xueming Shen <xueming.shen at oracle.com> wrote:

> Please help review the doc only change for this issue.
> 
> issue: https://bugs.openjdk.java.net/browse/JDK-8133170
> webrev: http://cr.openjdk.java.net/~sherman/8133170/webrev
> 
> As explained in the zlib.h (quoted below), there are 5 bytes of flush marker
> being output to the output buffer repeatedly every time this method is invoked,
> a > 6 bytes buffer length is requested to make FULL_FLUSH and SYNC_FLUSH
> work.
> 
> The proposed change here is to add this ">6 bytes" request into the java doc
> as suggested by the submitter.



More information about the core-libs-dev mailing list