Product Version: NetBeans IDE Dev (Build 200706031800)
Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)
Have project with form class. Form class contains component and this component
has defined handler for action performed (this method is bounded by guarded blocks)
1. define your local variable (is not in guarded block)
2. use it in handler
3. try to rename this variable
See, variable is not renamed in action method
This is inside event handler where only the method boundaries are guarded, but
the code inside the method is not protected. This should be handled by java
Reassigning to guarded block master.
Detection of guarded block fails in this case.
*** Issue 107414 has been marked as a duplicate of this issue. ***
*** Issue 108063 has been marked as a duplicate of this issue. ***
the "find usages" function also thinks that inside of a method bounded by guarded blocks is a read-only block, as shown
in the attachment.
Product Version: NetBeans IDE Dev (Build 200706270000)
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Created attachment 44552 [details]
image documenting problem
This error can be easily reproduced also when using 'Change method parameters' for a method defined inside form file,
and having this method called inside of a 'guarded' method.
Product Version: NetBeans IDE Dev (Build 070717)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
System: Linux version 2.6.12-1.1390_FC4smp running on i386;
UTF-8; en_US (nb) Userdir: /home/ms159439/.netbeans/dev
new revision: 1.17; previous revision: 1.16
*** Issue 113162 has been marked as a duplicate of this issue. ***