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.
[ BUILD # : 201211190002 ] [ JDK VERSION : 1.7.9 ] Test case: public class A { public Runnable create() { return new Runnable() { public void run() { } }; } } Moving the "create" method to class B yields public class B { public Runnable create() { return new Runnable() { () { <init>(); } public void run() { } }; } }
Changeset: 0b9a4a6fd905 Author: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Date: 2012-11-20 17:47
Integrated into 'main-golden', will be available in build *201211211016* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0b9a4a6fd905 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: Issue #222403 - "Move members" refactoring generates wrong constructor for anonymous classes