RFR: 8252739: Deflater.setDictionary(byte[], int off, int len) ignores the starting offset for the dictionary [v3]

Uwe Schindler github.com+1005388+uschindler at openjdk.java.net
Sun Sep 20 22:26:11 UTC 2020


On Sun, 20 Sep 2020 22:22:47 GMT, Lance Andersen <lancea at openjdk.org> wrote:

>> Hi all,
>> 
>> Please review the fix  for JDK-8252739 which addresses an issue introduced by
>> https://bugs.openjdk.java.net/browse/JDK-8225189, where Deflater.c ignored the offset specified by
>> Deflater.setDictionary.  Mach5 jdk-tier1, jdk-tier2, jdk-tier3 runs cleanly as well as the java/util/zip and
>> java/util/jar JCK tests.
>
> Lance Andersen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   More  updates to testByteBufferDirect in DeflaterDictionaryTests.java

Looks fine to me.

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

Marked as reviewed by uschindler at github.com (no known OpenJDK username).

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


More information about the core-libs-dev mailing list