Hi, On Thu, 2003-12-11 at 16:18, Casey Marshall wrote: > >>>>> "Ito" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: > > Ito> In message "Re: [kaffe] Jar files in 1.1.3?" on 03/12/10, Casey > Ito> Marshall <[EMAIL PROTECTED]> writes: > > >> The problem is with kaffe.tools.jar.Jar. Line 1053. > > Ito> I have not studied kaffe/tools/jar/Jar.java yet. But I could > Ito> reproduce the error. It seems that this error occurs when the > Ito> files to be archived are not directories but ordinary files. > > To me, it looks as though Jar.java was written for a different version > of the java.util.jar classes (Classpath's versions were recently > merged, right?) and they explictly put the "Name" attribute. > > Classpath's Manifest class writes "Name" attributes automatically, so > I think Kaffe's Jar is wrong. > > The fix is trivial, and attached.
I believe Casey his analysis is correct. If that doesn't fix the problem then please let me know (I wrote java.util.jar a long time ago so it could certainly be a bug in that code, but I believe it is indeed a bug in the Jar tool). Cheers, Mark
signature.asc
Description: This is a digitally signed message part
