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.
public ClassPath findClassPath (FileObject file, String type) {
int fileType = getType(file);
if (fileType == 0)
if (fileType == 0) {
return javaSourcesClassPath;
if (type != ClassPath.SOURCE)
else
return null;
} else
if (fileType == 1){
if (composedClassPath == null) {
FileObject [] all = new FileObject [sourcesFOs.length+webClassPath.getRoots().length+1];