Bug 5999 - IType.resolveType returns multiple matches also the type is unambigious
Summary: IType.resolveType returns multiple matches also the type is unambigious
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M3   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-16 08:52 EST by Dirk Baeumer CLA
Modified: 2002-02-13 05:03 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 Dirk Baeumer CLA 2001-11-16 08:52:46 EST
Resolving the type "String" returns an String[][] with two identical entries 
{"java.lang", "String"}. The comment states that multiple answers might be 
found in case there are ambiguous matches. But in this case there aren't any 
mulitple matches
Comment 1 Philipe Mulet CLA 2001-11-19 05:59:38 EST
Names might not be ambiguous, but their locations might. Are you sure you do 
not have multiple occurrences of a java.lang.String ?
Comment 2 Philipe Mulet CLA 2001-12-13 08:03:43 EST
Pls investigate
Comment 3 David Audel CLA 2002-02-13 05:03:53 EST
resolveType return twice the first match.

Fixed.