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 ElementJavadoc.create needs to call expensive project queries which may in case of api support project block for long time. The new method allows the caller to stop the ElementJavadoc.create when the result is no more needed and the calculation blocks the parsing infrastructure.
Created attachment 100495 [details] patch
The change seems fine to me.
Thanks Honzo. I will integrate it.
Fixed in jet-main bcf0fcbbc084
Integrated into 'main-golden', will be available in build *201007030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/bcf0fcbbc084 User: Tomas Zezula <tzezula@netbeans.org> Log: #188209:API review of cancelable ElementJavadoc.create