summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2005-02-15 22:17:33 +0000
committerMark Wielaard <mark@gcc.gnu.org>2005-02-15 22:17:33 +0000
commit339fe5364355c6c3efada04c425db9ca778e08de (patch)
tree5ad942c3e7f3e61d5b75c0b0120208be8ab8ad3f /libjava
parentd9fdd0d60fc0338f5fa6ad5a86af8a7e36b3893e (diff)
downloadgcc-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/ChangeLog5
-rw-r--r--libjava/java/net/URLClassLoader.java6
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 ();