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 218046 - new debugger classes are loaded on startup with j2se project
Summary: new debugger classes are loaded on startup with j2se project
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-09-10 06:45 UTC by Petr Cyhelsky
Modified: 2012-09-12 02:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
snapshot-like distribution of loaders (20.75 KB, application/octet-stream)
2012-09-10 06:45 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-09-10 06:45:42 UTC
Created attachment 124079 [details]
snapshot-like distribution of loaders

following new classes are loaded on startup with j2se project, please see the attached snapshot-like distribution of loaders for details.

org.netbeans.spi.debugger.ui.MethodChooser
org.netbeans.spi.debugger.ui.MethodChooser$ReleaseListener
org.netbeans.spi.debugger.ui.MethodChooser$Segment
Comment 1 Petr Cyhelsky 2012-09-10 06:51:36 UTC
https://hg.netbeans.org/ergonomics/rev/b50bf6c5953d
adding classes to whitelist, please remove them when fixed
Comment 2 Martin Entlicher 2012-09-10 15:21:27 UTC
It's likely, that the BinaryFS found org.netbeans.spi.debugger.ui.MethodChooser.createHighlihgtsLayerFactory method, which is registered in following module layers:
debugger.jpda/src/org/netbeans/modules/debugger/jpda/resources/mf-layer.xml
cnd.debugger.gdb/src/org/netbeans/modules/cnd/debugger/gdb/resources/mf-layer.xml
But this is an old code (from 2010).

Or, MethodChooser class is used in following classes:
debugger.jpda/src/org/netbeans/modules/debugger/jpda/actions/StepIntoActionProvider.java
debugger.jpda/src/org/netbeans/modules/debugger/jpda/actions/MethodChooserSupport.java
cnd.debugger.gdb/src/org/netbeans/modules/cnd/debugger/gdb/actions/StepActionProvider.java
cnd.debugger.gdb/src/org/netbeans/modules/cnd/debugger/gdb/actions/MethodChooserSupport.java
Comment 3 Tomas Hurka 2012-09-11 08:45:43 UTC
Fixed in main

changeset:   232481:8a94f3315652
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Sep 11 10:44:51 2012 +0200
summary:     bugfix #218046, use instanceOf attribute to prevent loading of org.netbeans.spi.debugger.ui.MethodChooser class
Comment 4 Quality Engineering 2012-09-12 02:08:49 UTC
Integrated into 'main-golden', will be available in build *201209120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8a94f3315652
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #218046, use instanceOf attribute to prevent loading of org.netbeans.spi.debugger.ui.MethodChooser class