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 java infrastructure requires source roots to provide correctly query results (ClassPath, SFBQ, BFSQ, SLQ, EQ) which is not the case of the j2seproject with existing sources having includes, for more details see issue #134919. The suggested API change adds new method registerExternalRoots (int policy, boolean minimalSubfolders) to the SourcesHelper class which allows the j2seproject to force the SourcesHelper to register whole source root in the SFOQ. The change is compatible, covered by test.
Created attachment 70426 [details] diff file
All looks fine to me.
http://hg.netbeans.org/main/rev/2cae83b86e89
Integrated into 'main-golden', will be available in build *200810010201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2cae83b86e89 User: Tomas Zezula <tzezula@netbeans.org> Log: #148185:API review: Added SourcesHelper.registerExternalRoots with minimalSubfolders parameters