Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370654 - F3 fails for parameterized role method
Summary: F3 fails for parameterized role method
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTDT (show other bugs)
Version: 2.1   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: 2.1 M6   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-05 08:08 EST by Stephan Herrmann CLA
Modified: 2012-09-22 16:28 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2012-02-05 08:08:20 EST
In the reachability example selecting a call to MethodNode.removeRecursively(Set<MethodNode>) and hitting F3 yields
"Current text selectioncannot be opened in an editor"

Debugging this situation it proves to be related to bug 345646: again an (unnecessary?) call to findExactMethod yields null thus leaving the SelectionNodeFound exception without a binding.
Comment 1 Stephan Herrmann CLA 2012-02-05 08:14:40 EST
Fix seems to be simply by removing bogus code :)
Just need to construct a regression test.
Comment 2 Stephan Herrmann CLA 2012-02-05 12:30:46 EST
Fixed for 2.1 M6 via commit 9d6e99d99d57cf96b2816c9578a17d08255af210
Comment 3 Stephan Herrmann CLA 2012-09-22 16:28:13 EDT
Verified using build 2.2.0.201209221349