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 7523 - It is possible to cut method with guarded blocks.
Summary: It is possible to cut method with guarded blocks.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC All
: P4 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-08-29 14:01 UTC by pzajac
Modified: 2007-09-26 09:14 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 pzajac 2000-08-29 14:01:28 UTC
Steps to reproduction:
1) Create JForm from templates.
2) Perform cut action on initComponents method.
3) Past method to another class.

Method with guarded block is deleted. It is wrong behaviour. method cannot be
deleted.
It must show Message that method is not deleted ...
Comment 1 Svata Dedic 2000-09-05 13:12:59 UTC
*** Bug 7570 has been marked as a duplicate of this bug. ***
Comment 2 Jan Becicka 2000-10-04 16:09:59 UTC
[1015] Solution is good, but not best. Unexpected Exeption dialog is invoked.
Better message would be nicer.
Comment 3 Svata Dedic 2000-10-11 14:45:59 UTC
grep "new SourceException" has revealed, that many errors reported from the java
module were not annotated by ErrorManager. It will be corrected.
Comment 4 Jan Becicka 2000-10-18 15:53:59 UTC
[1125] Verified
Comment 5 Quality Engineering 2003-07-01 13:16:24 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.