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.
The ClassIndex.getResources() breaks FreeForm project and other projects having mixes source and class files. It also returns different values depending on the Set<ResourceType> implementation, for example: Set<ClassIndex.ResourceType> s = new LinkedHashSet<>(); s.add(ClassIndex.ResourceType.BINARY); s.add(ClassIndex.ResourceType.SOURCE); CI.getResources(...,s) -> returns class files but Set<ClassIndex.ResourceType> s = new LinkedHashSet<>(); s.add(ClassIndex.ResourceType.SOURCE); s.add(ClassIndex.ResourceType.BINARY); CI.getResources(...,s) -> returns source files. Also the javadoc is not very useful.
Fixed jet-main 16961e97dfef
Integrated into 'main-silver', will be available in build *201507090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/16961e97dfef User: Tomas Zezula <tzezula@netbeans.org> Log: #253353:The ClassIndex.getResources() breaks FreeForm project