[Re: [Re: Errors encountered in compiling Java Tutorial example]]

Moses DeJong dejong at cs.umn.edu
Wed Nov 3 16:03:54 PST 1999


On Wed, 3 Nov 1999, Archie Cobbs wrote:

> 
> me writes:
> > jar tvf /usr/local/share/kaffe/Klasses.jar 
> > 
> >   1457 Thu Jan 01 0-8:00:00 PST 1970 java/lang/Object.class
> > java.io.IOException: LOC header signature bad: 535b547d
> > 	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)

Actually this is a bug in the java.util.zip.ZipInputStream class.
I have some test cases that reproduce this error but I have not
had time to track the bug down. If ZipInputStream is fixed
the jar util will work.

Mo DeJong
 
> Kaffe's "jar" utility is broken (though less broken than it used to be).
> It can create JAR files OK but seems to have trouble reading them.
> 
> -Archie
> 
> ___________________________________________________________________________
> Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com
> 



More information about the kaffe mailing list