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.
Created attachment 116208 [details] Diff file Added IndexReaderInjection which allows IndexReader to be passed to the convertor. When implemented by the Convertor or StoppableConvertor the index queries set an IndexReader instance to the passed convertor before calling the convert method. At the end of the query the active IndexReader is replaced by null.
The attached patch looks OK.
Fixed jet-main 6fd32f52b370
Integrated into 'main-golden', will be available in build *201203150400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/6fd32f52b370 User: Tomas Zezula <tzezula@netbeans.org> Log: #209008:Friend API to provide IndexReader to Convertors