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.
EditorCookie.getOpenedPanes() is known to be inherently slow (especially after start) and it is a candidate for being deprecated. There is new, more effective replacement in NbDocument: http://bits.netbeans.org/dev/javadoc/org-openide-text/apichanges.html#NbDocument.findRecentEditorPane Please use that or prevent calls to getOpenedPanes() is some other way.
fixed http://hg.netbeans.org/cnd-main?cmd=changeset;node=8f8544386932
Good. The code also looks slightly simplified.
Integrated into 'main-golden', will be available in build *200910150201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/8f8544386932 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed IZ#174413: 10s - CsmUtilities call getOpenedPanes()