| Summary: | [select] F3 not working for a specific signature-less callin binding | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> | ||||
| Component: | OTDT | Assignee: | Stephan Herrmann <stephan.herrmann> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 0.8 | ||||||
| Target Milestone: | 2.1 M3 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Stephan Herrmann
Another (possibly unrelated) failure of F3: Inside org.eclipse.objectteams.otdt.internal.debug.adaptor.PresentationAdaptorActivator.EditorBasedAdaptation.adaptedRun(ITextEditor) click on adaptor.setTextEditor(..) and again F3 doesn't work. Also note, that in both cases "copy qualified name" does not work for a role element (method or callin as pasted into this bug) whereas it works from the bread crumbs. put on radar. . Created attachment 206579 [details]
test & fix
Fixed by removing some bogus code from SelectionOnMethodSpec,
which had been in there for 7 years for no clear purpose.
The issue popped up because findExactMethod stumbled on a parameter type
for which the hierarchy was not yet connected, so we should be careful
with only using findExactMethod without findMethod. But as said, all this
wasn't even necessary.
Released for 2.1 M3 (r2094/5). Verified using build 201112131519. The fix has been backported to 2.0.2 via commit f3b2f1f8f0d88129c8aa72e8730a4785d51f4b84 |