Re: RFR: 4452735: Add GZIPOutputStream constructor to specify Deflater [v3]

2025-01-25 Thread Archie Cobbs
On Fri, 24 Jan 2025 20:57:15 GMT, Eirik Bjørsnøs wrote: > A tangential concern when allowing a custom deflater / inflater is to > document the resposibility for resource management. I've added a Javadoc blurb to that effect in 3807de16b70. Something similar (once the verbiage is agreed upon) s

Re: RFR: 4452735: Add GZIPOutputStream constructor to specify Deflater [v3]

2025-01-24 Thread Eirik Bjørsnøs
On Thu, 2 Jan 2025 18:26:16 GMT, Archie Cobbs wrote: >> The class `GZIPOutputStream` extends `DeflaterOutputStream`, which is >> logical because the GZIP encoding is based on ZLIB "deflate" encoding. >> >> However, while `DeflaterOutputStream` provides constructors that take a >> custom `Defla

Re: RFR: 4452735: Add GZIPOutputStream constructor to specify Deflater [v3]

2025-01-02 Thread Archie Cobbs
> The class `GZIPOutputStream` extends `DeflaterOutputStream`, which is logical > because the GZIP encoding is based on ZLIB "deflate" encoding. > > However, while `DeflaterOutputStream` provides constructors that take a > custom `Deflater` argument supplied by the caller, `GZIPOutputStream` has