| Summary: | [search] Rename doesn't finish correctly | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | David Audel <david_audel> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P5 | CC: | jerome_lanneluc, markus.kell.r, martinae, Olivier_Thomann, philippe_mulet |
| Version: | 3.3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
It seems that search doesn't find the reference to 'AnInterface' and so the refactoring fails. - Select the declaration of 'AnInterface' - Search for all type references: No matches Moving to jdt.core The resolveType of the QualifiedTypeReference 'AnInterface.I3' is 'I2.I3', hence the Search Engine fails to find this reference. Philippe, do you think it's a compiler a bug or is it the expected behavior? Set as P5 bugs which have be unchanged for more than 2 years... This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
build I20070918-0010 1) create Test.java public class Test { void foo() { AnInterface.I3 i; } } interface I1 { } interface I2 { public interface I3 extends I1 { } } interface AnInterface extends I2 { } 2) select AnInterface 3) do alt+shift+R (rename) 4) rename the interface I4 The declaration and the reference seems renamed I4 5) do enter The declaration is renamed but not the reference which is still AnInterface.