| Summary: | [Rename] renaming a method name does not change javadoc comment | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Hoon Kim <hoonkim3> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | markus.kell.r |
| Version: | 3.4 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
*** This bug has been marked as a duplicate of bug 148804 *** |
Build ID: I20080617-2000 Steps To Reproduce: 1.in the following code //renaming A to B package p; /** * Extends {@linkplain A A}. * @see A#A() */ class A{ A( ){}; }; class C extends A{ C(){ super(); } } 2.rename constructor method A to B 3.It produces //renaming A to B package p; /** * Extends {@linkplain B A}. * @see B#A() */ class B{ B( ){}; }; class C extends B{ C(){ super(); } } More information: There is a bug in the javadoc comment. Especially, when I tried to rename A.A() to A.B(), it initially detected both A in @see A#A() and dynamically changed the latter A to B. However, I finished the rename refactoring, it suddenly changed to B#A() instead of B#B(). I checked the Eclipse Bugzilla about this bug and the web site says it is not bug. However, I think this is definitely a bug. Expected Output: //renaming A to B package p; /** * Extends {@linkplain B A}. * @see B#B() */ class B{ B( ){}; }; class C extends B{ C(){ super(); } }