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 201111130600) Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02 System: Linux version 3.0.0-12-generic-pae running on i386; UTF-8; en_US (nb) SUMMARY: Introduce Method creates method that is already defined. http://wiki.netbeans.org/TS_60_Refactoring2 -there is sample project. 1.Open file packageA.ClassA 2.Select the code form mark //4 to //5 3.Call Refactor -> Introduce Method 4.Change method name to existing 5.Confirm dialog RESULT: new method called existing with two parameters (int) is created. It means that in ClaasA are two methods with same name and same parameters. This class is no compilable after this refactoring.
*** Bug 214620 has been marked as a duplicate of this bug. ***
*** Bug 220334 has been marked as a duplicate of this bug. ***
*** Bug 231144 has been marked as a duplicate of this bug. ***
Still present in: Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 1 Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Windows 7 version 6.1 running on x86; Cp1250; en_US (nb)
Increasing priority, uncompilable code.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss