<BUG>if (loader instanceof URLClassLoader) {for (URL url : ((URLClassLoader) loader).getURLs()) {jars.add(url);}</BUG><CONTEXT>throw new IOException("failed to download out of all possible locations..., use --verbose to get detailed information");}Path tmp = unzipToTemporary(pluginFile);final List<URL> jars = new ArrayList<>();ClassLoader loader = PluginManager.class.getClassLoader();<extra_id_0>}</CONTEXT>
Collections.addAll(jars, ((URLClassLoader) loader).getURLs());