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

Summary: Moving classes doesn't work with guarded blocks due to FQN
Product: guibuilder Reporter: ieising <ieising>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: issues
Priority: P2    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

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 ***