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 100297

Summary: [rename type] Rename Type should return a warning related to member types already declared inside a class
Product: java Reporter: kely_garcia <kely_garcia>
Component: RefactoringAssignee: issues@java <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description kely_garcia 2007-04-07 18:42:21 UTC
Build 200703271800

Rename type A to B should return a warning when there is a member type named B 
declared inside class A. 
Steps to reproduce: rename type A to B in the following
class A {  
  class B {}
}

yields the following refactored class
class B {
  class B {}
}

Note: B can be interface or a local class inside A.
Comment 1 Jan Becicka 2007-06-29 10:01:06 UTC
Reproducible.
Comment 2 David Strupl 2009-03-31 15:57:03 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 3 Quality Engineering 2009-11-02 11:14:19 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX