# HG changeset patch # User goetz # Date 1551884461 -3600 # Node ID a7cccbdf73f321e0b898330ed854f772dd3997e3 # Parent cd701366fcf8dff1e1818027b872e08aa3ee9571 8219651: compiler/ciReplay/TestServerVM.java is failing on windows Reviewed-by: thartmann, kvn diff -r cd701366fcf8 -r a7cccbdf73f3 test/hotspot/jtreg/compiler/ciReplay/CiReplayBase.java --- a/test/hotspot/jtreg/compiler/ciReplay/CiReplayBase.java Thu Mar 07 08:38:16 2019 +0100 +++ b/test/hotspot/jtreg/compiler/ciReplay/CiReplayBase.java Wed Mar 06 16:01:01 2019 +0100 @@ -294,7 +294,7 @@ try { String cmd = ProcessTools.getCommandLine(ProcessTools.createJavaProcessBuilder(true, args)); return new String[]{"sh", "-c", prefix - + (Platform.isWindows() ? cmd.replace('\\', '/').replace(";", "\\;") : cmd)}; + + (Platform.isWindows() ? cmd.replace('\\', '/').replace(";", "\\;").replace("|", "\\|") : cmd)}; } catch(Throwable t) { throw new Error("Can't create process builder: " + t, t); }