BUG in ZipInputStream
Hiroshi Oota
oota at LSi.nec.co.jp
Wed Jan 26 23:45:08 PST 2000
I built Kaffe from CVS tree today under FreeBSD-3.4-RELEASE.
The ChangeLog says
Tue Dec 28 10:14:16 CET 1999 Edouard G. Parmelan <egp at free.fr>
* libraries/javalib/java/util/zip/ZipInputStream.java: Skip remaining
compressed data closeEntry(), this close PR#568, PR#589 and PR#590.
* libraries/clib/zip/Deflater.c libraries/clib/zip/Inflater.c: Fix
SignalError() message test. Create kaffe_zalloc() and kaffe_zfree()
for inflateInit2(). Use Z_SYNC_FLUSH for inflate().
* libraries/javalib/kjc.jar: update to version 1.4B
* libraries/javalib/Klasses.jar: regen with kjc-1.4B
But, It still fails on some archive.
% jar tvf /usr/local/share/kaffe/kjc.jar
0 Mon Dec 13 14:11:46 GMT+9:00 1999 META-INF/MANIFEST.MF
0 Mon Dec 13 13:32:24 GMT+9:00 1999 at/dms/util/
0 Mon Dec 13 13:32:24 GMT+9:00 1999 at/dms/util/ArrayLocator.class
0 Mon Dec 13 13:32:24 GMT+9:00 1999 at/dms/util/Utils.class
java.io.IOException: LOC header signature bad: 50000007
at java.lang.Throwable.<init>(Throwable.java:38)
at java.lang.Exception.<init>(Exception.java:24)
at java.io.IOException.<init>(IOException.java:25)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:55)
at kaffe.tools.jar.Jar.listFilesInJar(Jar.java:601)
at kaffe.tools.jar.Jar.processJar(Jar.java:402)
at kaffe.tools.jar.Jar.start(Jar.java:60)
at kaffe.tools.jar.Jar.main(Jar.java:39)
thanx,
--
HIROSHI OOTA
oota at LSi.nec.co.jp
More information about the kaffe
mailing list