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

Lance Andersen lancea at openjdk.java.net
Tue Sep 22 20:57:01 UTC 2020


On Tue, 22 Sep 2020 07:28:42 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> Given that the offset handling is buggy then I think the test should at least cover the cases where the offset is 0 or
> out of bounds. No problem separating out further test coverage for the other setDictionary methods into a separate
> issue.

I updated the test to include an offset test for 0 and to add a test for out of range offsets.  I have updated the PR.

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

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


More information about the core-libs-dev mailing list