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.
/** Adds module into right into specified collection */
void add( ModuleItem mi, int kind ) {
boolean enableIt = false;
switch ( kind ) {
case ENABLED_MODULE:
enableLoader (mi);
enableIt = true;
// FALLTHRU
case RESTORED_MODULE:
}
nameModuleMap.put( mi.getDescription().getCodeNameBase(), mi );
if (enableIt) {
/** Just fix up its classloader. */