summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlia Motornyi <elmot@vaadin.com>2016-12-06 19:53:39 +0200
committerGitHub <noreply@github.com>2016-12-06 19:53:39 +0200
commit29f296d2d5a4a42035e543d7a139da8e8724bdda (patch)
treec5576d4b736d72c98c2e4cca70ec459ef2a202f6
parent5b0919ce9e3f8899fb5b0c5331afd9ffa2a56c0c (diff)
downloadvaadin-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.java2
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);