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 84894 - Rename class does not rename constructor
Summary: Rename class does not rename constructor
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks: 87136
  Show dependency tree
 
Reported: 2006-09-14 13:33 UTC by Jiri Prox
Modified: 2007-01-17 10:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2006-09-14 13:33:12 UTC
NetBeans IDE Dev (Build 060913)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b98
Linux version 2.6.5-1.358 running on i386
en_US (nb); UTF-8

Constructors are not renamed when refactoring-renaming class.

Steps to reproduce:
1) create class with ctor
2) put caret on class name 
3) do Refactor | Rename

-> class is renamed (with its usages as well) but ctors are not updated
Comment 1 Jan Becicka 2006-09-20 20:05:24 UTC
It is regression. It worked few weeks ago. I guess something had changed in
jackpot & retouche...
Comment 2 Pavel Flaska 2006-09-29 12:39:20 UTC
/cvs/retouche/retouche/jbrowse/src/org/netbeans/modules/java/builder/TreeFactory.java,v
 <--  src/org/netbeans/modules/java/builder/TreeFactory.java
new revision: 1.14; previous revision: 1.13
/cvs/retouche/retouche/jbrowse/src/org/netbeans/modules/java/save/TreeDiff.java,v
 <--  src/org/netbeans/modules/java/save/TreeDiff.java
new revision: 1.31; previous revision: 1.30
Comment 3 Pavel Flaska 2006-09-29 12:40:41 UTC
Basic test added.

/cvs/retouche/retouche/jbrowse/test/cfg-unit.xml,v  <--  test/cfg-unit.xml
new revision: 1.29; previous revision: 1.28
/cvs/retouche/retouche/jbrowse/test/unit/src/org/netbeans/api/java/source/gen/ConstructorRenameTest.java,v
 <--  test/unit/src/org/netbeans/api/java/source/gen/ConstructorRenameTest.java
initial revision: 1.1
Comment 4 Jiri Prox 2006-10-02 12:31:57 UTC
verified