This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: ZipInputStream broken?
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Subject: Re: ZipInputStream broken?
- From: Per Bothner <per at bothner dot com>
- Date: Sun, 04 Nov 2001 10:39:46 -0800
- CC: java at gcc dot gnu dot org
- References: <E15vdRx-0000hS-00@tf1.tapsellferrier.co.uk> <3BD4A0A0.5060705@waitaki.otago.ac.nz> <m3668q7va4.fsf_-_@noneofyourbusiness.com>
Adam Megacz wrote:
>Any ideas?
>
Perhaps there is a bad/missing magic number at end of .zip entry?
I.e. I assume you've done the obvious, like running the same program
under JDK? Just running the jar program might not catch it, because
.zip files contain duplicate tables of contents (one at each entry and
one at the very end). It is also possible that our code is stricter than
Sun's.
For someone to debug it you of course would have to provide them
the email.xwa input file. (I don't have the time myself.)