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.
Summary: | Broken refractoring - renaming class deletes code | ||
---|---|---|---|
Product: | java | Reporter: | kopknaf |
Component: | Refactoring | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | picture shows it all |
The bug is triggered by the multiple-variable declarator in inner classes preceding the refactored class. Fixed in jet-main#b200079cd5ac Integrated into 'main-silver', will be available in build *201703010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b200079cd5ac User: Svata Dedic <sdedic@netbeans.org> Log: #269455: variable common parent must be reset at the end of variable declarator/group |
Created attachment 163310 [details] picture shows it all This is bug in 8.2. It works fine in 8.1. In my very simple project when renaming Class "Orange" to "Apples", Netbeans 8.2 deletes everytime other class/portion of code! And this is all visible in refractoring preview window.