RFR: 8299748: java/util/zip/Deinflate.java failing on s390x [v2]
Amit Kumar
duke at openjdk.org
Thu Feb 2 10:51:24 UTC 2023
On Thu, 2 Feb 2023 08:27:55 GMT, Amit Kumar <duke at openjdk.org> wrote:
>> DeInflate.java test fails on s390x platform because size for out1 array which is responsible for storing the compressed data is insufficient. And being unable to write whole compressed data on array, on s390 whole data can't be recovered after compression. So this fix increase Array size (for s390).
>
> Amit Kumar has updated the pull request incrementally with one additional commit since the last revision:
>
> change acc to Alan comments
Alan RuntimeException is being thrown with the changes you've suggested.
Test Result:
level:0, strategy: 2, dowrap: true
level:1, strategy: 0, dowrap: false
STDERR:
java.lang.RuntimeException: out1 is small
at DeInflate.check(DeInflate.java:135)
at DeInflate.main(DeInflate.java:304)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:1623)
-------------
PR: https://git.openjdk.org/jdk/pull/12283
More information about the core-libs-dev
mailing list