< prev index next >

modules/fxml/src/main/java/com/sun/javafx/fxml/builder/URLBuilder.java

Print this page
rev 9619 : [mq]: 9-jake.patch

@@ -72,10 +72,11 @@
             url = (URL)value;
         } else {
             String spec = value.toString();
 
             if (spec.startsWith("/")) {
+                // FIXME: JIGSAW -- use Class.getResourceAsStream if resource is in a module
                 url = classLoader.getResource(spec);
             } else {
                 try {
                     url = new URL(spec);
                 } catch (MalformedURLException exception) {
< prev index next >