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

java/util/zip/DeInflate.java fails at Ubuntu 17.04 (zlib 1.2.11)

    XMLWordPrintable

    Details

      Description

      Due to zlib 1.2.11 issue https://github.com/madler/zlib/issues/275

      java/util/zip/DeInflate.java

      fails at Ubuntu 17.04 on which zlib is 1.2.11, both 32bit and 64bit.
      (pass if build with --with-zlib=bundled)
      (pass at other platforms, pass at Ubuntu16.04 on which zlib is 1.2.8)

      STDOUT:
      level:-1, strategy: 0, dowrap: false
      level:-1, strategy: 0, dowrap: true
      level:-1, strategy: 1, dowrap: false
      STDERR:
      java.util.zip.DataFormatException: incorrect header check
      at java.base/java.util.zip.Inflater.inflateBytes(Native Method)
      at java.base/java.util.zip.Inflater.inflate(Inflater.java:260)
      at java.base/java.util.zip.Inflater.inflate(Inflater.java:281)
      at DeInflate.checkStream(DeInflate.java:53)
      at DeInflate.main(DeInflate.java:137)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sherman Xueming Shen
              Reporter:
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: