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.
There has been a way (used often in automated tests) to wait for scan finished : org.netbeans.modules.javacore.JMManager.getManager().waitScanFinished(); After integrating retouche into trunk, this method gone a way and now is not possible to wait till the indexing of classpath roots is finished. We need such method to be called before we start to run functional tests, as well as without this functionality we are no more able to measure UI responsiveness ;(
Checking in src/org/netbeans/api/java/source/SourceUtils.java; /cvs/java/source/src/org/netbeans/api/java/source/SourceUtils.java,v <-- SourceUtils.java new revision: 1.6; previous revision: 1.5 done Checking in src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java; /cvs/java/source/src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java,v <-- RepositoryUpdater.java new revision: 1.8; previous revision: 1.7 done
verified