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 200037 - Hg related classes loaded during WhitelistTest
Summary: Hg related classes loaded during WhitelistTest
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.0
Hardware: Other Linux
: P2 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on: 199986
Blocks:
  Show dependency tree
 
Reported: 2011-07-11 10:39 UTC by Jaroslav Tulach
Modified: 2011-11-24 13:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2011-07-11 10:39:31 UTC
Build 
http://deadlock.netbeans.org/hudson/job/ergonomics/2571/
detected few new classes being loaded on start see

http://deadlock.netbeans.org/hudson/job/ergonomics/2571/artifact/ide.kit/build/test/qa-functional/work/o.n.t.i.W/testWhitelist1/

This may be problem of the testing infrastructure, but there used to be some property to tell Hg not to initialize itself on NetBeans Hg repository root. This does not seem to work anymore. Please co-operate with Petr to make the test ignore NetBeans Hg repository root again:


org.netbeans.modules.mercurial.MercurialInterceptor$HgFolderEventsHandler
org.netbeans.modules.mercurial.MercurialInterceptor$LockedRepositoryRefreshTask
org.netbeans.modules.mercurial.kenai.HgKenaiAccessor
org.netbeans.modules.mercurial.kenai.KenaiNotificationListener


See how to at 
http://wiki.netbeans.org/FitnessViaWhiteAndBlackList
Comment 1 Ondrej Vrabec 2011-07-11 12:18:08 UTC
The switch will work when task #199986 is fixed (currently on the API review), i just ran the test with the fix for #199986 and no additional mercurial classes were loaded. If you are kind to me and don't have objections against my API change, i'll integrate next week.
Comment 2 Quality Engineering 2011-07-12 14:15:11 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/1fd99ffa95a7
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #200037: Whitelisting the classes temporarily
Comment 3 Ondrej Vrabec 2011-07-19 07:57:01 UTC
fix: http://hg.netbeans.org/core-main/rev/b24cff292486
Comment 4 Jaroslav Tulach 2011-07-20 07:29:04 UTC
"Profiling" snapshot showing who loads what violator:
http://netbeans.org/bugzilla/attachment.cgi?id=109525
Comment 5 Quality Engineering 2011-07-20 13:56:59 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/b24cff292486
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #200037 - Hg related classes loaded during WhitelistTest
Comment 6 Petr Cyhelsky 2011-11-24 13:58:38 UTC
verified