JAL-3446 unused imports removed
[jalview.git] / src / javajs / async / Assets.java
index b57528b..05614ce 100644 (file)
@@ -361,7 +361,7 @@ public class Assets {
                try {
                        URL url = getInstance()._getURLFromPath(path, true);
                        if (url == null && !zipOnly) {
-                               url = Assets.class.getResource(path);
+                               url = Assets.class.getClassLoader().getResource(path);
                        }
                        if (url != null)
                                return url.openStream();