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 120069 - Move class refactoring destroys file content
Summary: Move class refactoring destroys file content
Status: RESOLVED DUPLICATE of bug 119245
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC All
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-25 17:17 UTC by kirillkh
Modified: 2007-10-25 17:27 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 kirillkh 2007-10-25 17:17:42 UTC
Product Version: NetBeans IDE Dev (Build 20071021091656)
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
------------------------------------------------------------------

I ran "Move class" refactoring on interface A, which had a subinterface B. Overviewing changes in the "Preview", I
noticed that the refactoring was going to completely remove the content of B, leaving it empty. I backed up the content
of B and went ahead. It really destroyed the content.

I don't have a reproducible test-case, I can't show the code and I don't have time to play with it further. Filing just
to raise the alert level.
Comment 1 Jan Becicka 2007-10-25 17:27:58 UTC

*** This issue has been marked as a duplicate of 119245 ***