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

(-)j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/BootClassPathImplementation.java (-1 / +4 lines)
Lines 68-73 Link Here
68
                }
68
                }
69
                resourcesCache = Collections.unmodifiableList (result);
69
                resourcesCache = Collections.unmodifiableList (result);
70
            }
70
            }
71
            else {
72
                resourcesCache = Collections.EMPTY_LIST;
73
            }
71
        }
74
        }
72
        return this.resourcesCache;
75
        return this.resourcesCache;
73
    }
76
    }
Lines 100-106 Link Here
100
            //Platform not found, return the default platform and listen
103
            //Platform not found, return the default platform and listen
101
            //on broken reference resolution
104
            //on broken reference resolution
102
            this.isActivePlatformValid = false;
105
            this.isActivePlatformValid = false;
103
            return this.platformManager.getDefaultPlatform ();
106
            return null; //this.platformManager.getDefaultPlatform ();
104
        } else {
107
        } else {
105
            //Platform not set => default platform
108
            //Platform not set => default platform
106
            return this.platformManager.getDefaultPlatform();
109
            return this.platformManager.getDefaultPlatform();

Return to bug 57641