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

(-)o.n.bootstrap/src/org/netbeans/ModuleManager.java (+4 lines)
Lines 892-899 Link Here
892
    private void subCreate(Module m) throws DuplicateException {
892
    private void subCreate(Module m) throws DuplicateException {
893
        Module old = get(m.getCodeNameBase());
893
        Module old = get(m.getCodeNameBase());
894
        if (old != null) {
894
        if (old != null) {
895
            if (System.getProperty("netbeans.ignore.dupmodule", "false").equalsIgnoreCase("false")) {
895
            throw new DuplicateException(old, m);
896
            throw new DuplicateException(old, m);
897
            } else {
898
                Util.err.warning("Duplicate loading ignored: " + old + " and " + m);
896
        }
899
        }
900
        }
897
        modules.add(m);
901
        modules.add(m);
898
        modulesByName.put(m.getCodeNameBase(), m);
902
        modulesByName.put(m.getCodeNameBase(), m);
899
        providersOf.possibleProviderAdded(m);
903
        providersOf.possibleProviderAdded(m);

Return to bug 232229