diff options
author | Ilia Motornyi <elmot@vaadin.com> | 2016-12-06 19:53:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-06 19:53:39 +0200 |
commit | 29f296d2d5a4a42035e543d7a139da8e8724bdda (patch) | |
tree | c5576d4b736d72c98c2e4cca70ec459ef2a202f6 | |
parent | 5b0919ce9e3f8899fb5b0c5331afd9ffa2a56c0c (diff) | |
download | vaadin-framework-29f296d2d5a4a42035e543d7a139da8e8724bdda.tar.gz vaadin-framework-29f296d2d5a4a42035e543d7a139da8e8724bdda.zip |
Fix classpath related tests under Windows
-rw-r--r-- | server/src/test/java/com/vaadin/tests/server/ClasspathHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/test/java/com/vaadin/tests/server/ClasspathHelper.java b/server/src/test/java/com/vaadin/tests/server/ClasspathHelper.java index 8dfe96d1c3..0a7ae5fe75 100644 --- a/server/src/test/java/com/vaadin/tests/server/ClasspathHelper.java +++ b/server/src/test/java/com/vaadin/tests/server/ClasspathHelper.java @@ -71,7 +71,7 @@ public class ClasspathHelper { .filter(Objects::nonNull).collect(Collectors.toList()); } else if (classesRoot.getName().toLowerCase(Locale.ENGLISH) .endsWith(".jar")) { - URI uri = URI.create("jar:file:" + classesRoot.getPath()); + URI uri = URI.create("jar:" + classesRoot.toURI()); FileSystem fileSystem; try { fileSystem = FileSystems.getFileSystem(uri); |