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.
Steps to reproduce: - create simple piece of code: int main(int argc, char** argv) { int x = 1; return 0; } - select 'x' - do "Introduce variable" Result: we got broken code int main(int argc, char** argv) { int x = x; int x = 1; return 0; }
fixed, change set: f5e49a001dc4
http://hg.netbeans.org/releases/rev/56d2537839a9
verified in OSS IDE built on 7.4 patch2 candidate