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 100301 - [rename type] Rename Type should return a warning related to referenced type name
Summary: [rename type] Rename Type should return a warning related to referenced type ...
Status: RESOLVED DUPLICATE of bug 100302
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-07 19:42 UTC by kely_garcia
Modified: 2007-08-14 12:36 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 kely_garcia 2007-04-07 19:42:00 UTC
Build 200703271800

Rename Type A to B should return a warning when another type named B is 
referenced in A.java
Steps to reproduce: Rename Type A to B in the following:
class A{
}
class X{
	class B{
	}
	A a;
}

yields the following refactored class:
package p;
class B{
}
class X{
	class B{
	}
	B a;
}

Note: The same problem occurs when there is a field or a parameter or a local 
variable or a return type or a throws statement or another expression 
statement including type A in class X.
Comment 1 Jan Becicka 2007-06-29 10:17:16 UTC
The same issue as 100302

*** This issue has been marked as a duplicate of 100302 ***