On Mon, 30 Jan 2023 08:24:27 GMT, Jaikiran Pai <[email protected]> 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).
>
> Additionally, on this system where this is failing, is the OS's zlib being
> used or is the JDK that is being tested have the zlib bundled within itself?
Hi @jaikiran ,
On my system OS's zlib is being used. and here is stack-trace.
----------System.out:(2/78)----------
level:-1, strategy: 0, dowrap: false
m=525312, n=498060, len=524288, eq=false
----------System.err:(11/585)----------
java.lang.RuntimeException: De/inflater failed:java.util.zip.Deflater@5ce95579
at DeInflate.check(DeInflate.java:141)
at DeInflate.main(DeInflate.java:290)
at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
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)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception:
java.lang.RuntimeException: De/inflater failed:java.util.zip.Deflater@5ce95579
test result: Failed. Execution failed: `main' threw exception:
java.lang.RuntimeException: De/inflater failed:java.util.zip.Deflater@5ce95579
-------------
PR: https://git.openjdk.org/jdk/pull/12283