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 48150 - [40cat] I refactored a class named "Package" to "AdventurePackage". The Ide in some places still deployed the old name("Package").
Summary: [40cat] I refactored a class named "Package" to "AdventurePackage". The Ide i...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 12:30 UTC by uaimp
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen dump of refactor problem (106.29 KB, image/png)
2004-08-30 12:33 UTC, uaimp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description uaimp 2004-08-30 12:30:39 UTC
[ BUILD # : 4.0-beta1 ]
[ JDK VERSION : J2SE 1.5.0 ]

Refer to the attached screen dump.
Comment 1 uaimp 2004-08-30 12:33:07 UTC
Created attachment 17214 [details]
Screen dump of refactor problem
Comment 2 Martin Matula 2004-08-30 12:55:29 UTC
As far as I can see the only occurence of Package word is in a comment
(the source seems to be compilable based on the screenshot of output
window).
Changing names in comments is not supported in this release.

*** This issue has been marked as a duplicate of 47667 ***
Comment 3 uaimp 2004-08-30 13:29:04 UTC
If you see the "Projects" tab on the left side under
"AdventurePackage" you still can see the "Package" name appearing.
This is has nothing to do with the comments. When I click with the
mouse, it throws an exception. When I closed the Ide and re-opened it
went away.

Cheers

SAM
Comment 4 Martin Matula 2004-08-30 14:05:29 UTC
Oh, you are right. I am sorry - I missed that. It seems that the Java
node did not notice that the class has been replaced. Reassigning to
java module.
Comment 5 Martin Matula 2004-08-30 14:12:19 UTC
Honzo, please evaluate.
Comment 6 Jan Pokorsky 2004-08-30 14:20:13 UTC
Can you describe step by step how to reproduce it, please? I tried
refactoring/rename on the java node (MyClass.java) and the class node
(MyClass) without problem.
Comment 7 Jan Pokorsky 2004-08-30 16:05:42 UTC
priority decreased since it is hardly a blocker or dataloss
Comment 8 Jan Pokorsky 2004-09-07 13:56:59 UTC
Close since there is no additional info and no one seems to be able to
reproduce it.