summaryrefslogtreecommitdiff
path: root/test/files/run/t6240b/StepOne.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6240b/StepOne.java')
-rw-r--r--test/files/run/t6240b/StepOne.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t6240b/StepOne.java b/test/files/run/t6240b/StepOne.java
index 7abd148d69..342d617c79 100644
--- a/test/files/run/t6240b/StepOne.java
+++ b/test/files/run/t6240b/StepOne.java
@@ -12,7 +12,7 @@ import java.net.MalformedURLException;
public class StepOne {
public static void main(String[] args)
throws MalformedURLException, ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, IOException {
- String[] launchPaths = System.getProperty("launch.classpath").split(":");
+ String[] launchPaths = System.getProperty("launch.classpath").split(File.pathSeparator);
// move away StepThree
File tempDir = File.createTempFile("temp", Long.toString(System.nanoTime()));
@@ -38,4 +38,4 @@ public class StepOne {
Method main = stepTwo.getDeclaredMethod("main", String[].class);
main.invoke(null, (Object)(new String[]{}));
}
-} \ No newline at end of file
+}