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 - refactoring an inner class that's used without a full import results in deletion of nearby complex classes
Summary: refactoring an inner class that's used without a full import results in delet...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-21 07:35 UTC by lytles
Modified: 2017-05-21 07:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;
}