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.
[Build 1068] Reproduction is easy: 1. Cut class from JavaDataObject node with guarded blocks , For example Form ... 2. Past it into another JavaDataObject. 3 -> Class is removed and pasted into destination source. It is wrong. It must be showed box with message as for example class cannot be deleted, guarded block on line ...
Although paste behaviour was fixed for all java elements, the SourceElement represented by the file node still contains the same bug: it does not run modification code at the user-level, so it bypasses guarded block checking.
Fixed in 2012, waiting for approval 107*
Integrated for 1072
Resolved for 3.4.x or earlier, no new info since then -> closing.