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 127385

Summary: Copy class w/o refactoring changes package statement
Product: editor Reporter: Jiri Prox <jiriprox>
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jiri Prox 2008-02-14 12:47:35 UTC
Product Version: NetBeans IDE Dev (Build 20080214091453)
Java: 1.6.0-ea; Java HotSpot(TM) Client VM 11.0-b06
System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb)
Userdir: /space/u6

Copy class w/o refactoring action changes package statement to match target package. User would expect the class won't
be change when the "Without refactoring" checkbox is selected, as it works with move class action.
Comment 1 Jiri Prox 2008-02-21 13:00:26 UTC
It also changes the class name if the target package is the same as original package
Comment 2 Jiri Prox 2008-02-21 13:02:29 UTC
*** Issue 127982 has been marked as a duplicate of this issue. ***
Comment 3 Jan Becicka 2011-10-11 14:57:33 UTC

*** This bug has been marked as a duplicate of bug 180227 ***