JDK7's java.util.zip breakage with very large files
Alexander Sack
pisymbol at gmail.com
Thu Feb 7 18:48:50 UTC 2013
On Thu, Feb 7, 2013 at 1:32 PM, Martin Buchholz <martinrb at google.com> wrote:
> It's probably a bug, but ...
> - it would help to have a clear reproducible test case
dd if=<your favorite hard disk node, e.g. /dev/sda1> of=data bs=1G count=12
jar cvf data.jar data
[get a cup of your favorite hot beverage]
bvi data
#504B0506 or "$", "#504B' etc.
No EoD at the end and what's even worse, I recently ran out of Kleenex
to wipe away my tears.
> - take a look at my vaguely related webrev from yesterday to this mailing
> list.
Ok.
> - I don't call zos.finish; I call zos.close which Works For Me.
Try it with very large files...see above! :-)
I mentioned zos.finish() before I ran to lunch because that's where I
see the EoD actually written out to the stream in cscope.
Unfortunately I don't have a working debugger right now since Java is
normally just coffee to me, hence my cry for help (I may change that
situation in the next few hours).
Thanks for the feedback, it is appreciated.
-aps
More information about the core-libs-dev
mailing list