RFR: 8278794: Infinite loop in DeflaterOutputStream.finish() [v2]

Ravi Reddy rreddy at openjdk.java.net
Wed Mar 16 16:34:38 UTC 2022


On Wed, 16 Mar 2022 11:59:44 GMT, Sean Coffey <coffeys at openjdk.org> wrote:

>> Ravi Reddy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Modified write(byte []b) to write(byte[] b) to maintain same signature across the test case
>
> test/jdk/java/util/zip/CloseInflaterDeflaterTest.java line 58:
> 
>> 56:         }
>> 57:         @Override
>> 58:         public void write(byte b[]) throws IOException {}
> 
> Let's be consistant with style and use "byte[] b" 
> 
> Same with line 70

Thanks , I am now using "byte[] b" in both write() and read() methods.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7804


More information about the core-libs-dev mailing list