aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Kegel <ingo.kegel@ej-technologies.com>2016-09-16 11:27:21 +0200
committerIngo Kegel <ingo.kegel@ej-technologies.com>2016-09-16 11:27:21 +0200
commitf9411b3238a89d34f5c5ac9d95fcc0abd1b25816 (patch)
tree11f6371f7c9a5abdd4d712b901c32fdceff8b758
parent121f562ae33fe2c56e1b82f3b03f5f625804fc69 (diff)
downloadvaadin-framework-f9411b3238a89d34f5c5ac9d95fcc0abd1b25816.tar.gz
vaadin-framework-f9411b3238a89d34f5c5ac9d95fcc0abd1b25816.zip
Fix regression that broke widget set compilation in 7.7.1 (#20285)
The fix for https://dev.vaadin.com/ticket/20262 broke widget set compilation on Windows, possibly only under certain circumstances Change-Id: Ica559b9c7199014bf1a2babad29f53b083ff74a2
-rw-r--r--server/src/main/java/com/vaadin/server/widgetsetutils/ClassPathExplorer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/server/widgetsetutils/ClassPathExplorer.java b/server/src/main/java/com/vaadin/server/widgetsetutils/ClassPathExplorer.java
index 5d1bbbfa5f..c271aec09f 100644
--- a/server/src/main/java/com/vaadin/server/widgetsetutils/ClassPathExplorer.java
+++ b/server/src/main/java/com/vaadin/server/widgetsetutils/ClassPathExplorer.java
@@ -454,7 +454,7 @@ public class ClassPathExplorer {
String key = dirs[i].getCanonicalPath() + "/" + name
+ dirs[i].getName();
locations.put(key,
- new URL("file://" + dirs[i].getCanonicalPath()));
+ dirs[i].getCanonicalFile().toURI().toURL());
}
} catch (Exception ioe) {
return;