Use space as path separator for Manifest Class-Path attributes
Mark Wielaard
mark@klomp.org
Tue Feb 15 21:55:00 GMT 2005
Hi,
On Tue, 2005-02-15 at 20:23 +0000, Andrew Haley wrote:
> Mark Wielaard writes:
> > 2005-02-15 Mark Wielaard <mark@klomp.org>
> >
> > * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
> > space for parsing CLASS_PATH attribute.
> >
> > This makes gij -jar work for jar files that contain a CLASS_PATH
> > attribute with more then one element.
> >
> > OK to commit?
>
> It seems quite perverse not to allow "path.separator" as a separator
> as well. Are you sure about this?
Yes. All documentation I could find was very explicit about only using
space as separator. Also all jar files I could find that use this
feature use space exclusively. Besides "path.separator" is different
depending on the platform used so that would make jars that use that in
describing the additional class path elements unusable on a platform
that uses a different "path.separator".
Cheers,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050215/a895adec/attachment.sig>
More information about the Java-patches
mailing list