Bug 72889 - same key different types
Summary: same key different types
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 13:16 EDT by Martin Aeschlimann CLA
Modified: 2004-09-23 12:44 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.