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) http://wiki.netbeans.org/TS_60_Refactoring2 -there is sample project. Looks it should be same problem as http://netbeans.org/bugzilla/show_bug.cgi?id=205076 1.Open file packageE.ClassA 2.Select text "Text" in the "method method3()" 3.Use Alt-Enter to show list of possible hints and select 4.Fill name of existing field as field name 5.Press OK EXPECTED RESULT: The warning that field already exist should be shown RESULT: No warning is shown, field with same name as already existing field is created.
*** Bug 230938 has been marked as a duplicate of this bug. ***
*** Bug 231145 has been marked as a duplicate of this bug. ***
*** Bug 233432 has been marked as a duplicate of this bug. ***
In addition there should be also check for locally declared variables - if introducing field with the same name as existing variable 'this.' should be used for referencing new field
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