Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
View | Details | Raw Unified | Return to bug 232229 | Differences between
and this patch

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
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo