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 113341 | Differences between
and this patch

Collapse All | Expand All

(-)ModuleList.java (-1 / +1 lines)
 Lines 189-195    Link Here 
189
            Set<File> jars = InstalledFileLocator.getDefault().locateAll(jar, name, false);
189
            Set<File> jars = InstalledFileLocator.getDefault().locateAll(jar, name, false);
190
            if (jars.isEmpty()) {
190
            if (jars.isEmpty()) {
191
                throw new FileNotFoundException(jar);
191
                throw new FileNotFoundException(jar);
192
            } else if (jars.size() == 1) {
192
            } else if (jars.size() == 1 || Boolean.getBoolean("org.netbeans.core.startup.ModuleList.firstModuleJarWins")) {
193
                return jars.iterator().next();
193
                return jars.iterator().next();
194
            } else {
194
            } else {
195
                // Pick the newest one available.
195
                // Pick the newest one available.

Return to bug 113341
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