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.xml.core.tree.ModuleEntityResolver org.netbeans.modules.xml.catalog.CatalogEntityResolver org.netbeans.modules.xml.catalog.spi.CatalogProvider org.netbeans.modules.xml.catalog.impl.SystemCatalogProvider org.netbeans.modules.xml.catalog.impl.XCatalogProvider org.netbeans.modules.xml.catalog.impl.sun.SunCatalogProvider org.netbeans.modules.xml.core.actions.CollectDTDAction$DTDAction org.netbeans.modules.xml.tools.actions.CSSStyleAction org.netbeans.modules.xml.core.actions.CollectXMLAction$XMLAction org.netbeans.modules.xml.tools.actions.CheckAction org.netbeans.modules.xml.tools.actions.CheckDTDAction org.netbeans.modules.xml.tools.actions.ValidateAction org.netbeans.modules.xml.tools.doclet.DocletAction org.netbeans.modules.xml.core.cookies.CookieFactoryCreator org.netbeans.modules.xml.core.DTDDataObject$DTDCookieFactoryCreator org.netbeans.modules.xml.tools.generator.DTDGenerateSupportFactory$Creator org.netbeans.modules.xml.tools.generator.XMLGenerateAction org.netbeans.modules.xml.tools.generator.XMLGenerateAction$GenerateDOMScannerAction org.netbeans.modules.xml.tools.generator.XMLGenerateAction$GenerateDTDAction org.netbeans.modules.xml.tools.generator.XMLGenerateAction$GenerateDocumentHandlerAction org.netbeans.modules.xml.core.XMLDataObject$XMLCookieFactoryCreator org.netbeans.modules.xml.tools.generator.XMLGenerateSupportFactory$Creator org.netbeans.modules.xml.tools.transform.actions.TransformAction org.netbeans.modules.xml.core.text.TextEditorSupport$EditorSupportFactoryCreater org.netbeans.modules.xml.tree.editor.TreeEditorSupport$TreeEditorSupportFactoryCreator org.netbeans.modules.xml.core.DTDDataObject$DataNodeCreator org.netbeans.modules.xml.tree.nodes.DTDDataNode$DataNodeCreatorImpl org.netbeans.modules.xml.core.XMLDataObject$DataNodeCreator org.netbeans.modules.xml.tree.nodes.XMLDataNode$DataNodeCreatorImpl org.netbeans.modules.xml.core.XMLDefaultLook org.netbeans.modules.xml.tree.nodes.looks.XMLStructureLook
I already fixed simple cases - Manifest layer: .instance files replaced by .settings files.
Created attachment 5312 [details] CVS commit report - changelog.
After discussion with Jarda I did not used .settings files which need to be parsed. I have just extended .instance files with instanceClass, instanceCreate and instanceOf attributes. Attached commit-log fixes loading of most of mentioned classes. Following 7 classes are loaded from XMLDataObject and are used to complete its CookieSet -- still loaded: org.netbeans.modules.xml.core.cookies.CookieFactoryCreator org.netbeans.modules.xml.core.XMLDataObject$XMLCookieFactoryCreator org.netbeans.modules.xml.tools.generator.XMLGenerateSupportFactory$Creator org.netbeans.modules.xml.core.text.TextEditorSupport$EditorSupportFactoryCreater org.netbeans.modules.xml.tree.editor.TreeEditorSupport$TreeEditorSupportFactoryCreator org.netbeans.modules.xml.core.XMLDefaultLook org.netbeans.modules.xml.tree.nodes.looks.XMLStructureLook
Rolled-back usage of instanceOf attributes -- lookup does not find such declared instances, this could be openide problem. Jardo, don't you know anything about it? Thanks.
Added tests and it seems that they work. The problem is likely to be on your side... /cvs/openide/test/unit/src/org/openide/loaders/InstanceDataObjectTest.java,v <-- InstanceDataObjectTest.java new revision: 1.20; previous revision: 1.19
Due Honza Ch. bug statistics version changed on 3.4 dev.
Just necessary classes are loaded now. Mainly changes were made in mf-layer.xml ducuments using instanceOf attributes.
VERIFIED
Resolved for 3.4.x or earlier, no new info since then -> closing.