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 11228 - [Refactoring] Naming a field is not reflected in java code
Summary: [Refactoring] Naming a field is not reflected in java code
Status: VERIFIED DUPLICATE of bug 16024
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on: 17825
Blocks:
  Show dependency tree
 
Reported: 2001-04-09 17:36 UTC by Tomas Hurka
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2001-04-09 17:36:51 UTC
try renaming field in a class, save and compile 

example : In Department class rename deptid to dept => save => compile

result : so many compilation errors since renaming is not modifying the source
properly


compiler output :

TestPack/Department.java [18:1] cannot resolve symbol
symbol  : variable deptid  
location: class TestPack.Department
        return deptid;
               ^
TestPack/Department.java [22:1] cannot resolve symbol
symbol  : variable deptid  
location: class TestPack.Department
        this.deptid = deptid;
        ^
TestPack/Department.java [42:1] cannot resolve symbol
symbol  : variable deptid  
location: class TestPack.Department
        out.writeLong( deptid );
                       ^
TestPack/Department.java [47:1] cannot resolve symbol
symbol  : variable deptid  
location: class TestPack.Department
        deptid = in.readLong();
        ^
4 errors
Errors compiling Department.

**** This bug was moved from bugtraq. Bugtraq number #4435035 ****
Comment 1 Jan Chalupa 2001-05-05 23:19:51 UTC
Target milestone -> 3.3
Comment 2 Jan Chalupa 2001-11-27 12:49:18 UTC
Target milestone -> 3.3.1.
Comment 3 Svata Dedic 2002-05-21 17:51:23 UTC
Cleaning up before 4.0 planning
Comment 4 Marek Grummich 2002-07-19 16:41:31 UTC
Target milestone was changed from not determined to TBD
Comment 5 Jan Becicka 2002-08-06 12:30:15 UTC

*** This issue has been marked as a duplicate of 16024 ***
Comment 6 Tomas Hurka 2003-07-09 10:08:25 UTC
No comment.