GZIPInputStream fails to read concatenated .gz files bug resolved?

一曲冷凌霜 提交于 2019-12-11 14:09:33

问题


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.


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/13749891/gzipinputstream-fails-to-read-concatenated-gz-files-bug-resolved

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!