Community
Participate
Working Groups
I20071106-0816, was OK in 3.4M3, maybe due to fix for bug 178596 Search for references to method Try#canDo() returns a wrong match. IReferenceUpdating does not declare canDo(), so the two methods are not connected: package xy; public class Try implements IReferenceUpdating { IMovePolicy fInter; boolean canDo() { // find references return fInter.canDo(); // not a reference } } interface IMovePolicy extends IReferenceUpdating { boolean canDo(); } interface IReferenceUpdating {}
Regression introduced by fix for bug 178596...
Created attachment 82430 [details] Proposed patch
The proposed patch works fine for me. It also does not show the wrong matches in o.e.ant.ui any more for the example from bug 209145.
Created attachment 82454 [details] Better proposed patch Recurse first in super interfaces, then if one matches, verify that it implements the searched method...
Released for 3.4M4 in HEAD stream.
Released for 3.3.2 in R3_3_maintenance stream.
(In reply to comment #6) > Released for 3.3.2 in R3_3_maintenance stream. > In fact this bug didn't occur in R3_3_maintenance as the patch released in this stream for bug 178596 (https://bugs.eclipse.org/bugs/attachment.cgi?id=82753) does not have this regression => put back the target to 3.4
Verified for 3.4M4 using I20071211-0010