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 41584 - It is possible to modify code in guarded blocks
Summary: It is possible to modify code in guarded blocks
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-01 12:24 UTC by ehucka
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 ehucka 2004-04-01 12:24:31 UTC
Steps to reproduce:

1. create a form
2. select e.g. initComponents method in explorer
3. invoke Customize action (I think there should
not be possible to invoke this action here)
4. try to change e.g. access modifier

Result: many exceptions are thrown
Comment 1 Jan Pokorsky 2004-04-08 12:22:57 UTC
This should be handled by the source hierarchy.
Comment 2 Jan Becicka 2004-07-22 11:02:14 UTC
No exeptions are thrown now, but user can modify code in gurded blocks
using node's properties.
Comment 3 Daniel Prusa 2004-08-05 13:46:35 UTC
Fixed.
Checking in JavaSourceNodeFactory.java;
/cvs/java/src/org/netbeans/modules/java/ui/nodes/JavaSourceNodeFactory.java,v
 <--  JavaSourceNodeFactory.java
new revision: 1.10; previous revision: 1.9
Comment 4 ehucka 2004-08-18 10:06:03 UTC
verified
Comment 5 Quality Engineering 2007-09-20 09:42:57 UTC
Reorganization of java component