changeset 9276:a60073ae6bbe

Replace ":" with File.patchSeparator
author hseigel
date Thu, 01 Oct 2015 08:58:55 -0400
parents f7f642ee9420
children 4b35845dbbc6
files test/runtime/modules/Xpatch/Xpatch2Dirs.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/modules/Xpatch/Xpatch2Dirs.java	Wed Sep 30 11:55:12 2015 -0700
+++ b/test/runtime/modules/Xpatch/Xpatch2Dirs.java	Thu Oct 01 08:58:55 2015 -0400
@@ -30,6 +30,7 @@
  */
 
 import jdk.test.lib.*;
+import java.io.File;
 
 public class Xpatch2Dirs {
 
@@ -55,7 +56,8 @@
              InMemoryJavaCompiler.compile("java.beans.Encoder", source2),
              "mods2/java.desktop");
 
-        ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xpatch:mods:mods2",
+        ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
+             "-Xpatch:mods" + File.pathSeparator + "mods2",
              "Xpatch2DirsMain", "javax.naming.spi.NamingManager", "java.beans.Encoder");
 
         OutputAnalyzer oa = new OutputAnalyzer(pb.start());