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 233080

Summary: Class copy refactoring incomplete in main() method when copied to new package
Product: java Reporter: mclaborn <mclaborn>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P4    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: screen shot of problem

Description mclaborn 2013-07-19 16:42:39 UTC
Product Version = NetBeans IDE 7.3 (Build 201306052037)
Operating System = Linux version 3.2.0-49-generic running on amd64
Java; VM; Vendor = 1.7.0_10
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.6-b04

See highlighted error in screen shot coming shortly.
Class com.csc.mm.jflock.JFlockLogin was copied to a new project, 
into a new package as com.csc.mm.eggtraying.EggTrayingLogin.
An anonymous inner class usage of the original class was not renamed.
Comment 1 mclaborn 2013-07-19 16:43:48 UTC
Created attachment 137466 [details]
screen shot of problem
Comment 2 Ralph Ruijs 2014-10-29 15:55:42 UTC
Should be fixed by previous changes in the copy class refactoring. Worksforme in 8.0.1.
Comment 3 mclaborn 2014-10-29 16:13:59 UTC
Confirmed. Also working for me in 8.0.1.