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.

Bug 85272 - [Move] refactor move class did not fix generic import
Summary: [Move] refactor move class did not fix generic import
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Jan Becicka
Depends on:
Reported: 2006-09-19 21:35 UTC by xxiii
Modified: 2007-04-19 10:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description xxiii 2006-09-19 21:35:38 UTC
public interface I<X extends Y> extends baseI {

Moving the above to a different package did not take into account whether an
import statement needed to be added (or presumably removed in other situations)
for Y, resulting in the newly moved interface now having an error because it
could not resolve Y. (The interface was in the same package as Y, but was moved
to a different package). It did properly deal with the import statements related
to baseI.

workaround: manually add any necessary import statements.
Comment 1 Jan Becicka 2007-04-19 10:01:01 UTC
Already fixed.