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 72587 - Moving classes doesn't work with guarded blocks due to FQN
Summary: Moving classes doesn't work with guarded blocks due to FQN
Status: RESOLVED DUPLICATE of bug 48288
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-13 07:22 UTC by ieising
Modified: 2006-03-23 15:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ieising 2006-02-13 07:22:28 UTC
Hi,

I noticed that when a FQN is used in a guarded block, ie NB used an FQN instead
of an import statement, the move class refactoring isn't working because it is
not allowed to update the FQN. This is easily prevented when a Refactoring is
allowed in the generated code or have code generation use imports instead of FQN's.

Iwan
Comment 1 ieising 2006-02-13 07:26:56 UTC
Breaking code is serious enough to make this a P2 issue, possibly even a P1.
Comment 2 Jan Becicka 2006-02-13 07:39:51 UTC
Form module must implement it's refactoring plugin.
Comment 3 Jan Stola 2006-03-23 15:22:49 UTC
This issue is caused by a missing integration of form module with refactoring.

*** This issue has been marked as a duplicate of 48288 ***