Bug 72889

Summary: same key different types
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Aeschlimann CLA 2004-08-30 13:16:24 EDT
20040824

In
package test;

import java.util.AbstractList;

public class StringList extends AbstractList<String> {
  AbstractList<List> l;

}

Both type bindings for 'AbstractList<String>' and for 'AbstractList<List>' have
the same key (ITypeBinding.getKey() -> 'java.util.AbstractList').
Is that intended?
Comment 1 Olivier Thomann CLA 2004-09-07 17:17:32 EDT
Now I also use the keys of type arguments to remove this ambiguity.
Fixed and released in HEAD.
Regression test added.
Comment 2 David Audel CLA 2004-09-23 12:44:19 EDT
Verified in I200409230100.