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.
When move-refactoring a package by dragging the package folder to a different location in the Files view, star imports (like "import the.pkg.to.be.moved.*;") are not updated, causing compiler errors after the move.
Looks like issue 128830. Are the star import unused (e.g. no error will be shown after they are deleted)?
The star imports are used before the move, but the refactoring introduces non-star imports for those uses, so after the move the star import is not used any more and could be removed. But of course the refactoring shouldn't be replacing star imports by non-star imports on its own volition.
Ralph, please take evaluate. Thanks.
Changeset: f2823978830d Author: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Date: 2011-10-24 16:25 Message: Issue #168923 - [Move] refactoring a package doesn't update star imports [68cat]
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/f2823978830d User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: Issue #168923 - [Move] refactoring a package doesn't update star imports [68cat]