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.
...resulting in e.g. java.lang.NoSuchMethodException: Outer$MyAction.<init>() at java.lang.Class.getConstructor0(Class.java:2706) at java.lang.Class.getDeclaredConstructor(Class.java:1985) [catch] at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:665) at runtime. This kind of thing ought to be caught at compile time. Compare bb589418e46f. A general clause in LayerBuilder.instantiableClassOrMethod would catch many usages, but not all.
ergonomics#b6b12944cf78
BTW typo: "annoated"
Integrated into 'main-golden', will be available in build *201205220903* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ae45c0b93120 User: Jesse Glick <jglick@netbeans.org> Log: Forbid instantiating a nonstatic nested class. Some special cases handled in bb589418e46f, and b6b12944cf78 (#206795).
Integrated into 'main-golden', will be available in build *201205230300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b6b12944cf78 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #206795: @ActionRegistration accepted on a nonstatic inner class