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 200717
Collapse All | Expand All

(-)a/o.n.bootstrap/src/org/netbeans/ModuleManager.java (-1 / +1 lines)
Lines 1300-1306 Link Here
1300
                // Should never happen:
1300
                // Should never happen:
1301
                if (other == null) throw new IllegalStateException("Should have found module: " + codeNameBase); // NOI18N
1301
                if (other == null) throw new IllegalStateException("Should have found module: " + codeNameBase); // NOI18N
1302
                if (!couldBeEnabledWithEagers(other, willEnable, recursion)) return false;
1302
                if (!couldBeEnabledWithEagers(other, willEnable, recursion)) return false;
1303
            } else if (dep.getType() == Dependency.TYPE_REQUIRES) {
1303
            } else if (dep.getType() == Dependency.TYPE_REQUIRES || dep.getType() == Dependency.TYPE_NEEDS) {
1304
                Set<Module> providers = providersOf.get(dep.getName());
1304
                Set<Module> providers = providersOf.get(dep.getName());
1305
                if (providers == null) throw new IllegalStateException("Should have found a provider of: " + dep.getName()); // NOI18N
1305
                if (providers == null) throw new IllegalStateException("Should have found a provider of: " + dep.getName()); // NOI18N
1306
                // Just need *one* to match.
1306
                // Just need *one* to match.

Return to bug 200717