Bug 208200 - [move] warn for class and package collissions
Summary: [move] warn for class and package collissions
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 04:28 EDT by Max Schaefer CLA
Modified: 2007-10-31 07:38 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Schaefer CLA 2007-10-31 04:28:58 EDT
Build ID: M20070212-1330

Steps To Reproduce:
1. create a package "foo"
2. inside "foo", create a class "bar"
3. create a package "foo.baz"
4. use Refactoring facility to rename "foo.baz" into "foo.bar" -- this can be done, but shouldn't be allowed, since now the class "bar" collides with the package "bar", triggering a compiler error


More information:
This seems to be closely related to bug #208199.
Comment 1 Martin Aeschlimann CLA 2007-10-31 07:38:33 EDT
Marking as enhancement as no harm is done here. User can undo the move.