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.
In the profiling root selection dialog: Scenario 1: 1) remove any selection in the tree 2) in the project containing default package select one non-default package 3) click "Advanced..." button 4) add ".*" pattern to the list 5) click "Ok" to close the dialog 6) the <default> package should be checked now, uncheck it 7) click "Advanced..." button 8) BUG: ".*" pattern remained in the list Scenario 2: 1) remove any selection in the tree 2) open default package in the tree, then open one class 3) check constructors 4) click "Advanced..." button 5) there should be list of constructors in the advanced list 6) click "Ok" to close the dialog 7) BUG: whole tree is now unchecked 8) click "Advanced..." again 9) BUG: the constructors are present in the list
Created attachment 119995 [details] fix There are actually two problems solved: 1) user edit the readable form of class name instead the internal representation which differ in case of default package 2) SourceCodeSelection#contains(...) fixed for default packages
The patch is ok. Please, proceed with integration.
Changeset: http://hg.netbeans.org/profiler-main/rev/4286abb973e5
Integrated into 'main-golden', will be available in build *201206050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4286abb973e5 User: Jan Taus <jtau8042@netbeans.org> Log: #213088: Tree and Advanced root selectors are not synchronized properly for default package