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 270694

Summary: refactoring an inner class that's used without a full import results in deletion of nearby complex classes
Product: java Reporter: lytles <lytles>
Component: RefactoringAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description lytles 2017-05-21 07:35:12 UTC
renaming Nested results in the deletion of Victim and Dummy.Nested does not get renamed


public class CannotRename {


    public static class Dummy {
        public static class Nested {
        }
    }

    public static class Victim {
        public int v1, v2;
    }
    public Dummy.Nested kdrop;
}