[kaffe] Jar files in 1.1.3?

Casey Marshall rsdio at metastatic.org
Thu Dec 11 07:20:03 PST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Ito" == Ito Kazumitsu <ito.kazumitsu at hitachi-cable.co.jp> writes:

Ito> In message "Re: [kaffe] Jar files in 1.1.3?"  on 03/12/10, Casey
Ito> Marshall <rsdio at metastatic.org> 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.

- -- 
Casey Marshall || rsdio at metastatic.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE/2IoOgAuWMgRGsWsRAhl1AJ0c4LZ8QUy5hvwGMmYLpFk5ChIB7wCdEYNg
KaQ5KtLG0Md6QUO1Pqg2E7k=
=BEGV
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jar.diff
Type: text/x-patch
Size: 603 bytes
Desc: not available
Url : http://pogo.kaffe.org/pipermail/kaffe/attachments/20031211/caaeb72f/jar-0002.bin


More information about the kaffe mailing list