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 - Class copy refactoring incomplete in main() method when copied to new package
Summary: Class copy refactoring incomplete in main() method when copied to new package
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: PC Linux
: P4 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-19 16:42 UTC by mclaborn
Modified: 2014-10-29 16:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen shot of problem (38.97 KB, image/png)
2013-07-19 16:43 UTC, mclaborn
Details

Note You need to log in before you can comment on or make changes to this bug.
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.