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.
Product Version = NetBeans IDE Dev (Build 201109141017) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0 Runtime = Java HotSpot(TM) Client VM 21.0-b17 I have two methods, let's say A and B, where A is just a wrapper of B setting some default parameters. Method A and B are named the same but have different amount of fields (overloaded methods). I saw a typo in both method's names so I went ahead and fixed them using the refactoring>rename. Method A was renamed correctly, but when I tried to refactor method B from within method A it was refactored to super.A. I'll attach a sample project in a bit.
Created attachment 110827 [details] Sample project
Just refactor the method in line 15 to compareNumberStrings.
regression caused by fix of issue 195070
Changeset: 9206ba6d27ee Author: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Date: 2011-09-19 12:44 Message: Issue #202251 - Refactoring code might lead to uncompilable code
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/9206ba6d27ee User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: Issue #202251 - Refactoring code might lead to uncompilable code