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

Bug 162874

Summary: [open type] does not qualify type with project if 2 types with same qualified name
Product: [Eclipse Project] JDT Reporter: Benno Baumgartner <benno.baumgartner>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Benno Baumgartner CLA 2006-10-31 06:11:08 EST
Given:
Project P01 with
package test;
public class Foo {}
package test2;
public class Foo {}

Project P02 with
package test;
public class Foo {}

1. Open Type
2. Type in 'Foo'
Is:
 Foo - test - P01/src
 Foo - test - P02/src
 Foo - test2
 ...
3. Select Foo - test2
4. Open Type
5. Type in 'Foo'
6. Select Foo - test - P01/src
7. Open Type
8. Type in 'Foo'
Is:
  Foo - test
  Foo - test2
  ----
  Foo - test
Should:
  Foo - test - P01/src
  Foo - test2
  ----
  Foo - test - P02/src
Comment 1 Benno Baumgartner CLA 2006-10-31 06:19:17 EST
This is in I20061030-1704
Comment 2 Markus Keller CLA 2006-11-03 10:06:27 EST
See bug 95172 comment 1. Automatic qualification only works if duplicates are directly adjoint.
Comment 3 Eclipse Genie CLA 2020-02-01 16:11:35 EST
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.