Bug 420265 - [rename] Rename method fails when you override more than one method per class/interface with the same implementation
Summary: [rename] Rename method fails when you override more than one method per class...
Status: CLOSED DUPLICATE of bug 99622
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 08:05 EDT by Nikolay Metchev CLA
Modified: 2013-10-24 09:14 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Metchev CLA 2013-10-24 08:05:57 EDT
Renaming A.v only renames one of the methods in I.

class I<T, K extends Runnable> {
	void v(T t) {
	}
	void v(K t) {
	}
}

class A extends I<Runnable, Runnable> {
	@Override
	void v(Runnable t) {
	}
}
Comment 1 Martin Mathew CLA 2013-10-24 09:08:05 EDT
During rename operation, both the methods in super class goes into linked mode and the rename seems to be affecting both the methods, but when user press 'Enter', only one of the method is renamed.

Looks similar to bug 395349.
Comment 2 Martin Mathew CLA 2013-10-24 09:14:15 EDT

*** This bug has been marked as a duplicate of bug 99622 ***