GZIPInputStream fails to read concatenated .gz fil

2019-09-13 11:49发布

Does anyone know if this bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2192186

has been resolved yet? It is causing issues on our side in data collection from archive or archives. Looks like this is a very old issue: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4691425

If it is resolved, please let me know jvm version that contains the fix.

2条回答
闹够了就滚
2楼-- · 2019-09-13 11:58

I check it again and released that bug is already fixed (check its status and resolution fields). Here is related commit. Make sure that you are using latest Java version.

查看更多
地球回转人心会变
3楼-- · 2019-09-13 12:16

Sorry for answering over a year, late but I thought the answer would help others because I too had this problem and it took me a while to find which version.

The answer is the GZIPInputStream concatenation bug fix was released in Java 6u21-rev-b08 http://www.oracle.com/technetwork/java/javase/documentation/overview-156328.html

However, it looks like the official Java 6u21 release was based on build 7 so that fix probably isn't in the official release until Java 6u22 even though it does not appear in the release notes.

I would think that this means it is in all versions of Java 7 since 6u22 came out a year before Java 7 was released. It is definitely in the latest Java 7 release.

查看更多
登录 后发表回答