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 119653 [details] Snapshot from a real cold start on my computer The snapshot seems to indicate that org.netbeans.modules.search.Installer.restored() 1 172 ms 212 ms wastes 1s waiting for initialization of window system. Please avoid usage of Installer.restored if possible. Preferably do nothing on start. Or maybe @OnShowing annotation is what you are looking for.
http://hg.netbeans.org/core-main/rev/05a9295c1efc Fixed. Thank you for the hint.
You need to make Installer no longer extend ModuleInstall, and remove OpenIDE-Module-Install from the manifest. Use @OnStop instead of uninstalled() (assuming this really needs to be done at all).
Integrated into 'main-golden', will be available in build *201205220903* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/05a9295c1efc User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #212746 - 1s on start wasted in search initialization on start
http://hg.netbeans.org/core-main/rev/875a112e3d31 (In reply to comment #2) > You need to make Installer no longer extend ModuleInstall, and remove > OpenIDE-Module-Install from the manifest. Fixed. > Use @OnStop instead of uninstalled() > (assuming this really needs to be done at all). The clean-up is indeed unnecessary, removing it.
Integrated into 'main-golden', will be available in build *201205240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/875a112e3d31 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #212746 - Remove unnecessary clean-up