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.
NetBeans IDE Dev (Build 200703201900) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251 profiler build 0070322 - create Anagram Game application - create new class a.b.C.java - open SPT dialog - in CPU profiling select Part of application and click "define" link - click Add From Project button - select "a" node under "AnagramGame.source" node - click Cancel button - click "define" link - click Add From Project button - click OK button root methods contains a.* but it wasn't selected Add From Project behavior very strange at all. Some times it add not selected packages. will provide more scenarios later
I'm able to reproduce following your steps (one OK button click after 'select "a" node under "AnagramGame.source" node' step is missing) but I believe this is a problem in root method selector rather than in new SPT.
will be fixed in m8
fixed in trunk
profiler 070326 on emore scenario - create Anagram Game application - open SPT dialog - in CPU profiling select Part of application and click "define" link - click Add From Project button - select "toy" node under "AnagramGame.source.com" node - press OK button - click Add From Project button again Libraries|com node selected, but I selected just com.sun.toy package
You actually filed a new issue. I insist that the issue originally reported has been fixed for M8. I filed a new issue #99075 for the problem you are describing
verified in M9