6341887: Inflater can't handle ByteBuffer - first webrev
Alan Bateman
Alan.Bateman at oracle.com
Sat Apr 14 20:57:52 UTC 2012
On 14/04/2012 20:39, Ulf Zibis wrote:
> :
>
>
> Can't we use an Enum for variable flush ?
>
Deflater dates back to JDK1.0 and uses an int for the flush mode, level
and strategy. Clearly if we were defining Deflater as a new API now then
an enum would the top choice but I think it would be a bit inconsistent
to introduce it now.
-Alan.
More information about the core-libs-dev
mailing list