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

Alan Bateman alanb at openjdk.org
Fri Feb 17 09:04:15 UTC 2023


On Thu, 16 Feb 2023 05:32:26 GMT, Amit Kumar <duke at openjdk.org> wrote:

> As you can see, the size of out1 is insufficient for the s390x. That's why I proposed the fix to increase the buffer size. Because the compressor is not deterministic, I don't want to be byte-perfect, so I changed the multiplier to `64` to leave 
some extra space here.

I've re-read the discussion and I don't think the real issue is clear at this time. Can you check if it only needs additional space for the DEFAULT_COMPRESSION level, maybe change the loop to only test levels 0-9 and see if it passes?

On determinism, then the test fills dataIn will random byte values, and the input length will be some random length up to dataIn.length, but otherwise I don't see anything that should cause the failure you are seeing.

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

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


More information about the core-libs-dev mailing list