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.
EXample: public enum Test { FOO {}, BAR, BAZ; public abstract void f(); } Invoking CC within the empty pair of braces and selecting "f() - implement" results in: public enum Test { FOO {}, BAR, BAZ; FOO { @Override public void f() { throw new UnsupportedOperationException("Not supported yet."); } }, BAR, BAZ; public abstract void f(); }
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/65cb5994d302
Integrated into 'main-golden', will be available in build *201006080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/65cb5994d302 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #186833: "Implement method" doesn't work correctly in body of enum constant - fixed.
Verified in build 201101040001.