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.

View | Details | Raw Unified | Return to bug 11709
Collapse All | Expand All

(-)core/src/org/netbeans/core/ModuleInstallerSupport.java (-1 / +5 lines)
Lines 163-171 Link Here
163
163
164
    /** Adds module into right into specified collection */
164
    /** Adds module into right into specified collection */
165
    void add( ModuleItem mi, int kind ) {
165
    void add( ModuleItem mi, int kind ) {
166
        boolean enableIt = false;
166
        switch ( kind ) {
167
        switch ( kind ) {
167
        case ENABLED_MODULE:
168
        case ENABLED_MODULE:
168
            enableLoader (mi);
169
            enableIt = true;
169
            // FALLTHRU
170
            // FALLTHRU
170
        case RESTORED_MODULE:
171
        case RESTORED_MODULE:
171
            // FALLTHRU
172
            // FALLTHRU
Lines 183-188 Link Here
183
        }
184
        }
184
185
185
        nameModuleMap.put( mi.getDescription().getCodeNameBase(), mi );
186
        nameModuleMap.put( mi.getDescription().getCodeNameBase(), mi );
187
        if (enableIt) {
188
            enableLoader (mi);
189
        }
186
    }
190
    }
187
191
188
    /** Just fix up its classloader. */
192
    /** Just fix up its classloader. */

Return to bug 11709