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.
In an enum like: enum E { E1 { }, E2; abstract int m(); } if one goes to the contents of E1 and invokes Alt + Insert -> Implement method and choose m(), a spurious ; is also generated before the overridden method. I've also seen something similar in anonymous inner classes which inherit from superclasses with no default constructors; it seems worse there, but I can't isolate the code. Product Version = NetBeans IDE Dev (Build 20120903-b205afccf642) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_01 Runtime = Java HotSpot(TM) 64-Bit Server VM 21.1-b02
Fixed: http://hg.netbeans.org/jet-main/rev/203ae8a3c67b
Integrated into 'main-golden', will be available in build *201210191216* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/203ae8a3c67b User: Jan Lahoda <jlahoda@netbeans.org> Log: #218318: do not generate the inferred ';' for enum constants with body.