Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 114515

Summary: [type wizards] creating a type that already exists on disk give wrong error message
Product: [Eclipse Project] JDT Reporter: Tom Hofmann <eclipse>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard: stalebug

Description Tom Hofmann CLA 2005-11-01 09:23:12 EST
3.2 M3 test pass

- have an example project with a source folder
- disable auto-refresh
- using an external create an Java source file "Bar.java" in the source folder
containing an empty class definition ("class Bar {}")
- back in eclipse, try to create a type 'Bar' in the default package

> expected: error, type / file already exists
< actual: error message:  "Type with same name but different case exists." which
is not true - they have the same type.
Comment 1 Tom Hofmann CLA 2005-11-01 09:24:35 EST
same for packages
Comment 2 Dirk Baeumer CLA 2005-11-01 09:46:40 EST
Martin, I converted the code to use EFS, however the problem already existed in
the old code.
Comment 3 Eclipse Genie CLA 2020-04-11 03:38:55 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.