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.
Today's dev build 080612. Have a following class: package bugs; public final class B { private final class C1 { C| } private final class C2 { int i; } } where '|' denotes cursor position. Now press Ctrl+Space and code completion offers "C1() - generate". If I press Enter the constructor gets generated but the whole C2 definition will disappear. The "C" before caret is important without it the generation works correctly.
I was not able to reproduce as such (an assertion failed for me, but results could be ugly with assertions disabled), but hopefully fixed by: http://hg.netbeans.org/main?cmd=changeset;node=4823969883db Jirka, might be a good candidate for a 6.1 patch.
Yes I agree, this is good candidate for patch
Jirko/Milo, could you please verify fix for this issue in trunk builds? Thanks, -R
verified in trunk Product Version: NetBeans IDE Dev (Build 20080728044253) 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)
I've transplanted the changeset http://hg.netbeans.org/main?cmd=changeset;node=4823969883db into release61_fixes repository as http://hg.netbeans.org/release61_fixes/rev/6b425a23902b
verified in patch