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.
Created attachment 154389 [details] Example If I have several overloaded static methods, that are imported statically, and one or more are refactored to change their name, then Netbeans does not add static imports for the newly named methods. Take the attached example. If you select one of the "of" methods, and rename-refactor the method name (e.g. CTRL+R) to e.g. "length", then "length" should be but is not added as a static import. (Note that the example also applies if the "Length" class is elsewhere.)
reproducible
changeset: c5660afbe62e user: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date: Mon Jun 29 10:12:05 2015 +0200 summary: #253179 - Refactor of overloaded static import doesn't work as expected, causes compiler errors
Integrated into 'main-silver', will be available in build *201506300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c5660afbe62e User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #253179 - Refactor of overloaded static import doesn't work as expected, causes compiler errors