allow to use comma as system-independent separator in additional classpath
authornik <Nikolay.Chashnikov@jetbrains.com>
Thu, 9 Jul 2015 14:45:00 +0000 (17:45 +0300)
committernik <Nikolay.Chashnikov@jetbrains.com>
Thu, 9 Jul 2015 14:45:33 +0000 (17:45 +0300)
platform/bootstrap/src/com/intellij/ide/BootstrapClassLoaderUtil.java

index 9dab9c62b3a36cac23becb81a9cab98f1e9c4a9d..349f7e1fe19cb840f81c2054407606b975dd0c39 100644 (file)
@@ -125,7 +125,7 @@ public class BootstrapClassLoaderUtil extends ClassUtilCore {
 
   private static void addAdditionalClassPath(Collection<URL> classpath) {
     try {
-      StringTokenizer tokenizer = new StringTokenizer(System.getProperty(PROPERTY_ADDITIONAL_CLASSPATH, ""), File.pathSeparator, false);
+      StringTokenizer tokenizer = new StringTokenizer(System.getProperty(PROPERTY_ADDITIONAL_CLASSPATH, ""), File.pathSeparator + ",", false);
       while (tokenizer.hasMoreTokens()) {
         String pathItem = tokenizer.nextToken();
         classpath.add(new File(pathItem).toURI().toURL());