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.
I am working on issue 21676 and I have run the IDE with this patch http://www.netbeans.org/issues/showattachment.cgi?attach_id=5081 and the arguments described there. I have found out that following classes are being loaded into the system on startup. Please investigate why they are loaded and prevent that to happen. Thanks. org.netbeans.modules.vcscore.settings.GeneralVcsSettingsNode
Reassigning...
GeneralVcsSettingsNode is defined in the vcscore module XML layer. This is probably the reason, why it is loaded. It's used to present VCS settings.
The name seems to indicated that the class is a node. I am not aware of any reason why a node should be loaded on startup... If it is usage of <file name="...instance" /> then try to also use attributes <attr name="instanceClass" stringvalue="org.openide.nodes.Node" /> <attr name="instanceCreate" ..... /> or please give me explanation why this class is loaded into VM?
The attribute <attr name="instanceClass" stringvalue="org.openide.nodes.Node" /> really suppressed the loading of that class. However after this change the "Version Control Settings" became unusable. IMHO the GeneralVcsSettingsNode is loaded into VM becaused it's referenced in the mf-layer.xml under "Services". It's used to form the version control settings in the Options dialog. It must be a node to be able to attach settings from other modules as it's children and it must have a list of properties itself. If there is an alternate way how to implement this, please let me know. Thanks.
Please try to find out who is loading the class and why it is not loaded if referenced just as Node.
Well, this must be somewhere in the core. Because none of my other classes are loaded. I'll look at it....
I've found the reason, why the class is loaded. The Services folder is recursively loaded at the beginning due to the lookup. I've put our node under UI/Services. Fixed in dev build Apr 17.
Verified in development build #200204230100 of NetBeans 3.4.
Resolved for 3.4.x or earlier, no new info since then -> closing.