Use the correct path separator character when looking for classpath entries

This commit is contained in:
Ben Gruver 2019-10-02 16:34:04 -07:00
parent 7f5e1cc633
commit 539353a85c

View File

@ -182,7 +182,7 @@ public class ClassPathResolver {
// It's not a local path, so let's try to resolve it as a device path, relative to one of the provided
// directories
List<String> pathComponents = splitDevicePath(entry);
Joiner pathJoiner = Joiner.on(File.pathSeparatorChar);
Joiner pathJoiner = Joiner.on(File.separatorChar);
for (String directory: classPathDirs) {
File directoryFile = new File(directory);