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.
While investigating our startup sequence I see various wrong pattern in ModuleInstall classes in CND cluster (cnd/highlight, cnd/modelimpl) Overriding method to call only their super implementation is not a good idea (waste of time and memory). If not needed validate() should not be overriden at all (causes earlier loading of class and any code called here needs to be very careful because only small portion of system is setup). Wrapping call to super with tracing is not good either - you can get similar info by turning on logging in {openide|core}/modules cnd/highlight module install searches for open projects and then in fact does nothing with them. Whole this part should be avoided.
Fixed. Checking in highlight/src/org/netbeans/modules/cnd/highlight/HighlightProvider.java; /shared/data/ccvs/repository/cnd/highlight/src/org/netbeans/modules/cnd/highlight/HighlightProvider.java,v <-- HighlightProvider.java new revision: 1.10; previous revision: 1.9 done Checking in highlight/src/org/netbeans/modules/cnd/highlight/HighlightInstaller.java; /shared/data/ccvs/repository/cnd/highlight/src/org/netbeans/modules/cnd/highlight/HighlightInstaller.java,v <-- HighlightInstaller.java new revision: 1.4; previous revision: 1.3 done Checking in modelimpl/src/org/netbeans/modules/cnd/modelimpl/Installer.java; /shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/Installer.java,v <-- Installer.java new revision: 1.8; previous revision: 1.7 done
thanks