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.
Summary: | Do not load classes on startup | ||
---|---|---|---|
Product: | xml | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Code | Assignee: | _ lkramolis <lkramolis> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | PERFORMANCE |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 21676 | ||
Attachments: | CVS commit report - changelog. |
Description
Jaroslav Tulach
2002-03-28 16:37:36 UTC
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. |