@Override protected ModuleEntriesProvider getDefaultEntriesProvider(Module module, Attachable context) { return new ClassLoaderEntriesProvider(module); }
@Override public List<URL> findEntries(String path, String filePattern, boolean recurse) { if (filePattern.contains("*") || recurse == true) throw new UnsupportedOperationException("Bundle.getEntryPaths(String,String,boolean)"); // flawed because of parent first access URL result = classLoader.getResource(path + "/" + filePattern); if (result == null && !path.startsWith("/")) { return findEntries("/" + path, filePattern, recurse); } return result != null ? Collections.singletonList(result) : Collections.<URL>emptyList(); } }