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.
1. Create java class: package packageD; public class ClassA { int i; public ClassA() { i = 1; // i = 3; } } 2. Put caret at position: "int i|;" (where '|' is a position of caret) 3. Using Alt+Delete invoke Safe Delete dialog >> Safe delet can not be resolved since refactor can not detect the object (see img) Product Version: NetBeans IDE Dev (Build 201402030001) Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b67 Runtime: Java(TM) SE Runtime Environment 1.8.0-b126 System: Linux version 3.8.0-19-generic running on amd64; UTF-8; en_US (nb)
Created attachment 144739 [details] img
Created attachment 144740 [details] ClassA
changeset : 335c1e8b8424 author : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date : Mon Feb 03 16:44:45 CET 2014 summary : #241348 - [Safe Delete] Can not recognize the field
Integrated into 'main-silver', will be available in build *201402050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/335c1e8b8424 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #241348 - [Safe Delete] Can not recognize the field