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.
Summary: | IDE generates uncompilable code | ||
---|---|---|---|
Product: | java | Reporter: | _ tboudreau <tboudreau> |
Component: | Hints | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | Keywords: | REGRESSION |
Priority: | P2 | ||
Version: | 7.2.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
_ tboudreau
2013-01-15 19:52:10 UTC
Sorry, but not for me. For me, it generates: @Override public void test() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } Could you please check what you have in Tools/Templates/Java/Code Snippets/Generated Method Body? The default content is available here: http://hg.netbeans.org/releases/file/release73/java.source/src/org/netbeans/modules/java/source/resources/OverriddenMethodBody.template Thanks. Really strange - I have never edited this template. But it is a userdir I have been using for a very long time, so something may have touched it... |