This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ZipInputStream broken?


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.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]