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 6665

Summary: Cut/Paste operation doesn`t work on initializers!
Product: platform Reporter: Jan Becicka <jbecicka>
Component: -- Other --Assignee: Jan Becicka <jbecicka>
Status: CLOSED FIXED    
Severity: major    
Priority: P1    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Becicka 2000-05-12 22:45:00 UTC
Try to Cut initializer and Paste it into another class. Initializer is properly removed from source class, but into target class is inserted only empty body!!!

[Svata] The origin of the bug predates FCS. There`s bad ordering of operations in Paste implementation on ClassElement nodes so the initializer is deleted first, then inserted at the new place -- but
its body is lost.
Comment 1 Quality Engineering 2003-07-02 17:17:58 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.