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 (classloader instanceof ProxyClassLoader) {
((ProxyClassLoader)classloader).destroy();
}
// #21114: try to release all JAR locks
Iterator it = oldClassLoaders.iterator();
while (it.hasNext()) {
OneModuleClassLoader l = (OneModuleClassLoader)it.next();
try {
l.releaseLocks();
} catch (IllegalStateException ise) {
// XXX: released locks multiple on same module
moduleJARs.remove(jar);
classloader = null;
Util.err.log("classLoaderDown on " + this + ": releaseCount=" + releaseCount + " released=" + released);
released = false;
/** Notify the module that it is being deleted. */
void destroy() {
assert ! isEnabled () : "Cannot destroy enaled module " + this;
// // #21114: try to release all JAR locks
// Iterator it = oldClassLoaders.iterator();
// while (it.hasNext()) {
// OneModuleClassLoader l = (OneModuleClassLoader)it.next();
// l.releaseLocks();
// }
// moduleJARs.remove(jar);
/** Get the JAR manifest.