From 2bdcb6c462d9fc40c6962c8109f30029706e9609 Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Sat, 16 Dec 2017 10:28:51 +0200 Subject: [PATCH] Fix #184 --- pf4j/src/main/java/org/pf4j/util/FileUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);