diff options
author | Mark Wielaard <mark@klomp.org> | 2005-02-15 22:17:33 +0000 |
---|---|---|
committer | Mark Wielaard <mark@gcc.gnu.org> | 2005-02-15 22:17:33 +0000 |
commit | 339fe5364355c6c3efada04c425db9ca778e08de (patch) | |
tree | 5ad942c3e7f3e61d5b75c0b0120208be8ab8ad3f /libjava | |
parent | d9fdd0d60fc0338f5fa6ad5a86af8a7e36b3893e (diff) | |
download | gcc-339fe5364355c6c3efada04c425db9ca778e08de.tar.gz |
URLClassLoader.java (JarURLLoader.JarURLLoader): Just use space for parsing CLASS_PATH attribute.
* java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
space for parsing CLASS_PATH attribute.
From-SVN: r95077
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/java/net/URLClassLoader.java | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index e721f3ec8d6..ee438add718 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,10 @@ 2005-02-15 Mark Wielaard <mark@klomp.org> + * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use + space for parsing CLASS_PATH attribute. + +2005-02-15 Mark Wielaard <mark@klomp.org> + * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look aside for "GCJLIBS" in directory where jarfiles are loaded. (JarURLLoader.getClass): Removed method. diff --git a/libjava/java/net/URLClassLoader.java b/libjava/java/net/URLClassLoader.java index 268b0b45caf..0ee2e748a3d 100644 --- a/libjava/java/net/URLClassLoader.java +++ b/libjava/java/net/URLClassLoader.java @@ -341,11 +341,7 @@ public class URLClassLoader extends SecureClassLoader { this.classPath = new Vector(); - StringTokenizer st - = new StringTokenizer - (classPathString, - System.getProperty ("path.separator", ":")); - + StringTokenizer st = new StringTokenizer(classPathString, " "); while (st.hasMoreElements ()) { String e = st.nextToken (); |