Community
Participate
Working Groups
Build 200208150800 (2.0.1) 1. Create file d:\test\X.java 2. Startup new workspace in d:\workspace 3. Create project 'Test' 4. In default package, bring up class wizard 5. Enter X as the class name. Observe: Wizard says that type X already exists
JavaModel.getTarget(IContainer, IPath, boolean) returns true if container is workspace root, and path is '/Test/X.java'.
Bug already existed in 2.0
Changed getTarget() to consider that a relative path is only internal and changed resourceExists() to make the path relative except in the case of an external package fragment root.
*** Bug 22942 has been marked as a duplicate of this bug. ***
Verified.