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.
Product Version: NetBeans IDE Dev (Build 20081031070034) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Linux version 2.6.22-15-generic running on i386; UTF-8; en_US (nb) Assign Return Value To New Variable can break code when it's called on if w/o block. Steps to reproduce: 1) call Assign Return Value in following line if(true) System.getProperties(); -> the result is invalid code: if(true) Properties properties = System.getProperties(); better would be if(true) { Properties properties = System.getProperties(); }
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss