From: Ingo Kegel Date: Fri, 16 Sep 2016 09:27:21 +0000 (+0200) Subject: Fix regression that broke widget set compilation in 7.7.1 (#20285) X-Git-Tag: 8.0.0.alpha3~28 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f9411b3238a89d34f5c5ac9d95fcc0abd1b25816;p=vaadin-framework.git 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 --- 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;