Use space as path separator for Manifest Class-Path attributes

Mark Wielaard mark@klomp.org
Tue Feb 15 23:30:00 GMT 2005


Hi,

On Tue, 2005-02-15 at 15:06 -0700, Tom Tromey wrote:
> Thanks for doing the research on this.  IMO a comment in the source
> explaining this is in order, perhaps with a URL or something.

I installed the following patch in GNU Classpath CVS to document this.

2005-02-15  Mark Wielaard  <mark@klomp.org>

       * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
       file path elements are separated by spaces.

Merge for libgcj to resync java/util/jar comming up.

Cheers,

Mark

diff -u -r1.11 Attributes.java
--- java/util/jar/Attributes.java       28 Jan 2005 14:46:16 -0000      1.11
+++ java/util/jar/Attributes.java       15 Feb 2005 22:25:58 -0000
@@ -132,8 +132,8 @@

     /**
      * General main attribute -
-     * (relative) URLs of the libraries/classpaths that the Classes in
-     * this jar file depend on.
+     * (relative) file paths of the libraries/classpaths that the Classes in
+     * this jar file depend on. Paths are separated by spaces.
      */
     public static final Name CLASS_PATH = new Name("Class-Path");


-------------- 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/990e537b/attachment.sig>


More information about the Java-patches mailing list