Browse Source

Fix #184

pull/186/head
Decebal Suiu 7 years ago
parent
commit
2bdcb6c462
  1. 2
      pf4j/src/main/java/org/pf4j/util/FileUtils.java

2
pf4j/src/main/java/org/pf4j/util/FileUtils.java

@ -216,7 +216,7 @@ public class FileUtils {
public static Path getPath(Path path, String first, String... more) throws IOException {
URI uri = path.toUri();
if (isJarFile(path)) {
uri = URI.create("jar:file:" + path.toString());
uri = URI.create("jar:file:" + path.toString().replace("\\", "/"));
}
return getPath(uri, first, more);

Loading…
Cancel
Save