Bug 138038 - [type wizards] validate that name isn't same as superclass
Summary: [type wizards] validate that name isn't same as superclass
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 15:41 EDT by John Kaplan CLA
Modified: 2009-01-23 11:34 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Kaplan CLA 2006-04-21 15:41:13 EDT
This would be an easy validity check to add.

If you inadvertantly name a class the same as its parent, eclipse usually allows it, but many strange non-deterministic things can happen later that are hard to debug.

Some frameworks disambiguate the same class name with different package names, and so make mixups like this more likely.