This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 218973 - Refactoring "Rename method" on inherited method does not rename method of interface
Summary: Refactoring "Rename method" on inherited method does not rename method of int...
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
: 223498 (view as bug list)
Depends on:
Reported: 2012-09-25 12:35 UTC by Jachym_Vojtek
Modified: 2015-09-17 11:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jachym_Vojtek 2012-09-25 12:35:16 UTC
public interface I {

    public void foo();
public class C1 {
  public void foo() {
public class C2 extends C1 implements I {
public class C3 {
        new C2().foo(); // Perform rename method here

Try to rename method to 

Method will not be renamed along with even though it should be. C2 will not be compilable after this refactoring.
Comment 1 Ralph Ruijs 2012-12-07 19:33:22 UTC
*** Bug 223498 has been marked as a duplicate of this bug. ***
Comment 2 Martin Balin 2015-09-17 11:16:23 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.
Comment 3 Jachym_Vojtek 2015-09-17 11:46:04 UTC
This is simply reproducible in NetBeans IDE Dev (Build 201509150002) as well as 223498, which was marked as duplicate of this one.