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.
synchronized (LOCK) {
if (this.resourcesCache == null) {
ArrayList<PathResourceImplementation> result = new ArrayList<PathResourceImplementation> ();
result.addAll(ecpImpl.getResources());
boolean[] includeJDK = { true };
result.addAll(ecpImpl.getResources(includeJDK));
lastHintValue = project.getAuxProps().get(Constants.HINT_JDK_PLATFORM, true);
if (includeJDK[0]) {
for (ClassPath.Entry entry : findActivePlatform().getBootstrapLibraries().entries()) {
result.add(ClassPathSupport.createResource(entry.getURL()));
}
resourcesCache = Collections.unmodifiableList (result);
public @Override List<? extends PathResourceImplementation> getResources() {
boolean[] arr = { false };
return getResources(arr);
final List<? extends PathResourceImplementation> getResources(boolean[] includeJDK) {
assert bcp != null;
synchronized (bcp.LOCK) {
String[] boot = getBootClasspath();
if (boot != null) {
includeJDK[0] = false;
for (URL u : stripDefaultJavaPlatform(boot)) {
result.add (ClassPathSupport.createResource(u));