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 208102 - org.netbeans.modules.cnd classes loaded on startup with J2SE project
Summary: org.netbeans.modules.cnd classes loaded on startup with J2SE project
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.2
Hardware: PC All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-02-06 16:55 UTC by Petr Cyhelsky
Modified: 2012-02-07 14:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
snapshot-like distribution of loaders (11.28 KB, application/octet-stream)
2012-02-06 17:00 UTC, Petr Cyhelsky
Details
It should be visible in this snapshot (8.35 KB, application/octet-stream)
2012-02-07 13:06 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-02-06 16:55:33 UTC
Following classes are loaded on startup with J2SE project
see http://wiki.netbeans.org/FitnessViaWhiteAndBlackList

org.netbeans.modules.cnd.makeproject.MakeBasedProjectFactorySingleton
org.netbeans.modules.cnd.utils.CndUtils
Comment 1 Petr Cyhelsky 2012-02-06 17:00:28 UTC
Created attachment 115492 [details]
snapshot-like distribution of loaders
Comment 2 Vladimir Voskresensky 2012-02-07 09:09:00 UTC
Hi Petr, 
Can you help me to find mentioned classes in snapshot? I've tried to use "Combined" view, but can not find mentioned classes.
From cnd I see only MakeProjectFileOwnerQuery and CndPathUtilities which are OK
Comment 3 Petr Cyhelsky 2012-02-07 13:06:45 UTC
Created attachment 115507 [details]
It should be visible in this snapshot
Comment 4 Vladimir Voskresensky 2012-02-07 14:29:03 UTC
removed loading of CndUtils
http://hg.netbeans.org/cnd-main/rev/cb7796cf210d

Factories are lookup'ed by org.netbeans.api.project.ProjectManager => can not eleminate MakeBasedProjectFactorySingleton as one of them
http://hg.netbeans.org/cnd-main/rev/93a065523934
Comment 5 Petr Cyhelsky 2012-02-07 14:49:14 UTC
ok, I will add MakeBasedProjectFactorySingleton to the whitelist
Comment 6 Vladimir Voskresensky 2012-02-07 14:55:59 UTC
(In reply to comment #5)
> ok, I will add MakeBasedProjectFactorySingleton to the whitelist
I've already added, see :
http://hg.netbeans.org/cnd-main/rev/93a065523934
Comment 7 Petr Cyhelsky 2012-02-07 14:58:49 UTC
ok, superb