diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2017-12-16 10:28:51 +0200 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2017-12-16 10:28:51 +0200 |
commit | 2bdcb6c462d9fc40c6962c8109f30029706e9609 (patch) | |
tree | 0e1176f3002a3d72df8dd13bcc1166fb17ac8a9c /pf4j/src | |
parent | 42aaee15591e241add08323c76f4f813867f996b (diff) | |
download | pf4j-2bdcb6c462d9fc40c6962c8109f30029706e9609.tar.gz pf4j-2bdcb6c462d9fc40c6962c8109f30029706e9609.zip |
Fix #184
Diffstat (limited to 'pf4j/src')
-rw-r--r-- | pf4j/src/main/java/org/pf4j/util/FileUtils.java | 2 |
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); |