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.
If check box "Use ... default value only in declaration" is on, refactoring produces code that does not compile, because the default value in declaration is commented out. Here is an example of generated code void foo(int par0 /* = 0 */) { // this "=0" should be uncommented!!! } void foo_caller() { foo(); }
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/a8368b521830 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #203795 - "Change method parameters" refactoring breaks compilation - when function has only one declaration which is definition => put default value in signature