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

Need to document current limitations of java.util.GZIPInputStream

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • core-libs
    • None

      BugID 4691425 reports that some .gz compressed files are not fully
      decompressed when using the java.util.zip.GZIPInputStream provided
      within J2RE. On closer examination the files in question were
      produced by an older version of the gzip command line tool and
      consisted of multiple blocks of compressed (originally 24kByte input
      content) each within their own header-body-trailer block.
      The current GZIPInputStream implementation assumes that the compressed
      input stream provided consists of a single header followed by the
      entire compressed body of text/data followed by a standard gzip trailer.
      This assumption isn't documented within any of the J2SE documentation
      as far as I can tell. We need to clarify this.

            sherman Xueming Shen
            ilittlesunw Ian Little (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: