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.

Bug 177514

Summary: Don't load CsmClass and others on start of empty IDE
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: VERIFIED FIXED    
Severity: normal CC: issues, ovk
Priority: P2 Keywords: PERFORMANCE
Version: 6.x   
Hardware: Other   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Lazy population of the Map in ModesSubModel seems to fix this problem

Description Jaroslav Tulach 2009-11-24 07:18:01 UTC
Significant part of CND functionality is being loaded into the IDE when it starts with empty user directory. Please modify the system to not load following classes:

org.netbeans.modules.cnd.api.model.CsmClass
org.netbeans.modules.cnd.api.model.CsmClassifier
org.netbeans.modules.cnd.api.model.CsmCompoundClassifier
org.netbeans.modules.cnd.api.model.CsmDeclaration
org.netbeans.modules.cnd.api.model.CsmOffsetable
org.netbeans.modules.cnd.api.model.CsmOffsetableDeclaration
org.netbeans.modules.cnd.api.model.CsmQualifiedNamedElement
org.netbeans.modules.cnd.api.model.CsmScopeElement

More info about the whitelist test is at
http://wiki.netbeans.org/FitnessViaWhiteAndBlackList
including information which describes how to run the test.
Comment 1 Jaroslav Tulach 2009-11-24 07:19:43 UTC
The problem is in window system's persistance which instantiates components in spite they are not visible.
Comment 2 Jaroslav Tulach 2009-11-24 07:21:19 UTC
Created attachment 91605 [details]
Lazy population of the Map in ModesSubModel seems to fix this problem
Comment 3 Stanislav Aubrecht 2009-11-25 06:44:27 UTC
*** Bug 165146 has been marked as a duplicate of this bug. ***
Comment 4 Stanislav Aubrecht 2009-11-25 07:49:37 UTC
fixed in core-main b87a79258bed

thanks for the patch
Comment 5 Jaroslav Tulach 2009-11-26 07:48:11 UTC
I am always glad to suggest useful patches that I do not have to bugfix later.
Comment 6 Quality Engineering 2009-11-26 19:31:09 UTC
Integrated into 'main-golden', will be available in build *200911261400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b87a79258bed
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #177514 - instantiate TCs in sliding modes lazily
Comment 7 Quality Engineering 2011-06-07 06:34:34 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/
User: 
Log: