This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
if (bangSlash != -1) {
// underlying URL inside jar:, generally file:
// XXX why is this not using FileUtil.getArchiveFile?
try {
URI layerJarURL = new URI(s.substring(4,
bangSlash));
if ("file".equals(layerJarURL.getScheme())) {
{ // #121777
String s2 = layerJarURL.toString();
if (s2.startsWith("file:") && !s2.startsWith("file:/")) {
layerJarURL = new URI("file:/" + s2.substring(5));
}
files.add(new File(layerJarURL));
} else {
err.warning(
continue;
URL jarURL = FileUtil.getArchiveFile(manifestUrl);
if (jarURL != null && jarURL.getProtocol().equals("file") &&
/* #121777 */ jarURL.getPath().startsWith("/")) {
LOG.log(Level.FINE, "Considering JAR: {0}", jarURL);
if (jarURL != null && jarURL.getProtocol().equals("file") && ignoredJars.contains(new File(jarURL.toURI()))) {
if (ignoredJars.contains(new File(jarURL.toURI()))) {
LOG.log(Level.FINE, "ignoring JDK/JRE manifest: {0}", manifestUrl);
continue MANIFESTS;
} catch (URISyntaxException x) {
Exceptions.printStackTrace(x);
LOG.log(Level.FINE, "Checking boot manifest: {0}", manifestUrl);
InputStream is;