Currently the LuceneIndex class is both in java.source and parsing.api. Several methods are the same, but they are not completely the same. A common generic support should be created and shared by java and parsing api as friend api. The duplication of these class causes not only problems with class loading but also with maintaining, these classes are sensitive to update of lucene library. Also some performance improvements were done only in java.source not in parsing.api and the parsing.api's LuceneIndex depends on lucene deprecated apis (already fixed in java.source). On the other side the java.source uses file handlers pool from parsing.api by implementation dependency. The common friend api will remove this reason of impl dependency.
Fixed jet-main e8f93be3c8c6
Integrated into 'main-golden', will be available in build *201010160000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Tomas Zezula <firstname.lastname@example.org>
Log: #190872:Make common LuceneIndex support