File.pathSeparator is better than ":".

This commit is contained in:
Gian Merlino 2014-08-28 18:09:31 -07:00
parent 68aeafaacd
commit 5564a67bfc
1 changed files with 1 additions and 1 deletions

View File

@ -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()
);