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.
private void subCreate(Module m) throws DuplicateException {
Module old = get(m.getCodeNameBase());
if (old != null) {
if (System.getProperty("netbeans.ignore.dupmodule", "false").equalsIgnoreCase("false")) {
throw new DuplicateException(old, m);
} else {
Util.err.warning("Duplicate loading ignored: " + old + " and " + m);
}
modules.add(m);
modulesByName.put(m.getCodeNameBase(), m);
providersOf.possibleProviderAdded(m);