Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7036144 GZIPInputStream readTrailer uses faulty available() test for end-of-stream
  3. JDK-8330995

Release Note: `GZIPInputStream` Will No Longer Use `InputStream.available()` to Check for the Presence of Concatenated GZIP Stream

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 23
    • 23
    • core-libs

      The `GZipInputStream` `read` methods have been modified to remove the usage of `InputStream::available()` when determining if the stream contains a concatenated GZIP stream. These methods will now read any additional data in the underlying `InputStream` and check for the presence of a GZIP stream header.

            acobbs Archie Cobbs
            acobbs Archie Cobbs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: