RFR: 8299748: java/util/zip/Deinflate.java failing on s390x

Alan Bateman alanb at openjdk.org
Wed Feb 1 08:48:50 UTC 2023


On Wed, 1 Feb 2023 08:33:16 GMT, Amit Kumar <duke at openjdk.org> wrote:

> level:1, strategy: 0, dowrap: false               
> is finished: false     

Thanks for checking that. So "is finished: false" is telling us that not all of the input was compressed. So I think the right thing is to do the deflate in a loop until there is more input to compress, the inflate probably needs the same. Your original proposal was to make the output buffer larger and I suspect that is just working around a threshold or block size used by the accelerator.

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

PR: https://git.openjdk.org/jdk/pull/12283


More information about the core-libs-dev mailing list