[HER-1865] JDK6u23 breaks GzippedInputStream & W/ARCReaders with different GZIP handling

* OpenJDK7GZIPInputStream.java, OpenJDK7InflatedInputStream.java
    backport the working GZIP implementation from OpenJDK7, with minimal 
    renames/imports/private-to-protected changes to enable member-at-a-time reading
* GZIPMembersInputStream
    base on OpenJDK7 implementation to avoid pre- & post-6u23 codepaths, and 6u23/24 readHeader bug
    override readTrailer to set member-end; update comment to reflect end-uncertainty without EOF-per-member-mode
* GZIPMembersInputStreamTest, ARCWriterTest
    test tweaks
This commit is contained in:
gojomo
2011-03-30 02:42:04 +00:00
parent e60fd8b0e1
commit e6e415b9d9

Diff Content Not Available