提交 5564a67b 编写于 作者: G Gian Merlino

File.pathSeparator is better than ":".

上级 68aeafaa
......@@ -163,7 +163,7 @@ public class ForkingTaskRunner implements TaskRunner, TaskLogStreamer
final String childHost = String.format("%s:%d", node.getHostNoPort(), childPort);
final String taskClasspath;
if (task.getClasspathPrefix() != null && !task.getClasspathPrefix().isEmpty()) {
taskClasspath = Joiner.on(":").join(
taskClasspath = Joiner.on(File.pathSeparator).join(
task.getClasspathPrefix(),
config.getClasspath()
);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册