summaryrefslogtreecommitdiffstats
path: root/pf4j/src
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2017-12-16 10:28:51 +0200
committerDecebal Suiu <decebal.suiu@gmail.com>2017-12-16 10:28:51 +0200
commit2bdcb6c462d9fc40c6962c8109f30029706e9609 (patch)
tree0e1176f3002a3d72df8dd13bcc1166fb17ac8a9c /pf4j/src
parent42aaee15591e241add08323c76f4f813867f996b (diff)
downloadpf4j-2bdcb6c462d9fc40c6962c8109f30029706e9609.tar.gz
pf4j-2bdcb6c462d9fc40c6962c8109f30029706e9609.zip
Fix #184
Diffstat (limited to 'pf4j/src')
-rw-r--r--pf4j/src/main/java/org/pf4j/util/FileUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pf4j/src/main/java/org/pf4j/util/FileUtils.java b/pf4j/src/main/java/org/pf4j/util/FileUtils.java
index a17481b..e3e8959 100644
--- a/pf4j/src/main/java/org/pf4j/util/FileUtils.java
+++ b/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);