[kaffe] Jar files in 1.1.3?
Mark Wielaard
mark@klomp.org
Sat Dec 27 16:29:01 2003
--=-MSd16yJmrQjIxsm2M3B+
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hi,
On Thu, 2003-12-11 at 16:18, Casey Marshall wrote:
> >>>>> "Ito" =3D=3D Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp> writ=
es:
>=20
> Ito> In message "Re: [kaffe] Jar files in 1.1.3?" on 03/12/10, Casey
> Ito> Marshall <rsdio@metastatic.org> writes:
>=20
> >> The problem is with kaffe.tools.jar.Jar. Line 1053.
>=20
> 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.
>=20
> 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.
>=20
> Classpath's Manifest class writes "Name" attributes automatically, so
> I think Kaffe's Jar is wrong.
>=20
> 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
--=-MSd16yJmrQjIxsm2M3B+
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQA/7iNSxVhZCJWr9QwRAmWLAKCYmeN342v4WoG8o8voKnN3YOOxQQCfZG1R
2WK13LamTRpph5ZZqr7iwGE=
=ae4r
-----END PGP SIGNATURE-----
--=-MSd16yJmrQjIxsm2M3B+--