BUG in ZipInputStream

Mo DeJong mdejong at cygnus.com
Thu Jan 27 19:38:01 PST 2000


If you created the zip file with Kaffe's jar tool, then ZipOutputStream
is to blame. Try creating your zip file with zip and then uncompress it
with Kaffe's jar tool. If it is still broken, then it must be a problem
other than the one I was talking about.

Mo Dejong
Red Hat Inc.

On Fri, 28 Jan 2000, Hiroshi Oota wrote:

> 
> ;; This bug has been around in one form or another for many many months.
> ;; The problem seems to be related to the header written before the actual
> ;; data is placed in the zip file. I have been meaning to get around
> ;; to fixing it but I just have not had the time to write up all the test
> ;; cases needed to fix it once and for all. If you want to jump in and
> ;; take a whack at it, the problem is in the class ZipOutputStream.java!
> Do you mean the zip file incorrect?
> 
> I think the zip file(kjc.jar) is correct, because `unzip kjc.jar' reports no
> errors. ZipInputStream should handle it.
> --
> 
> 				HIROSHI OOTA
> 				oota at LSi.nec.co.jp
> 



More information about the kaffe mailing list