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 100299 - [rename type] Rename Type should return a warning related to import and declare the same type in a comp. unit
Summary: [rename type] Rename Type should return a warning related to import and decla...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-07 19:00 UTC by kely_garcia
Modified: 2010-09-23 08:38 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 kely_garcia 2007-04-07 19:00:47 UTC
Build 200703271800

Rename Type should return a warning related to: A Compilation Unit must not 
declared and import a type with the same name. 
Steps to reproduce: Rename A to List in the following

import java.util.List;
public class A {
}

yields the following refactored class:
import java.util.List
public class List {

}