Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8299748

java/util/zip/Deinflate.java failing on s390x

    XMLWordPrintable

Details

    • b21
    • s390x
    • linux

    Backports

      Description

        Created on behalf of Amit Kumar.

        DeInflate.java test fails on s390x platform because size for out1 array which is responsible for storing the compressed data is insufficient. Due to that, the system is unable to write whole compressed data on array. While decompressing the data, the assert statement 'n != len' is getting executed.

        ----------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

        Attachments

          Issue Links

            Activity

              People

                amitkumar Amit Kumar
                tsteele Tyler Steele
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: