Bug 138671 - [dom] ITypeBindings' supertypes incomplete with illegally parameterized superinterfaces
Summary: [dom] ITypeBindings' supertypes incomplete with illegally parameterized super...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 RC6   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-26 12:48 EDT by Markus Keller CLA
Modified: 2006-05-26 11:31 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 Markus Keller CLA 2006-04-26 12:48:18 EDT
HEAD, followup to bug 136095.

-------------
interface Ints extends List<Integer> {}
abstract class Klass implements List<String>, Ints {}
-------------

The fix for bug 136095 seems to fix only the type hierarchy, but not type bindings. In M6, ITypeBinding#getInterfaces() on 'Klass' returned:
  0: java.util.List<java.lang.String>
  1: xy.Ints

, but with HEAD, I only get
  0: java.util.List<java.lang.String>

I would expect that both hierarchies are consistent (M6 behavior preferred).
Comment 1 Jerome Lanneluc CLA 2006-04-27 07:16:10 EDT
Fixing bug 138887 will fix this bug.
Comment 2 Jerome Lanneluc CLA 2006-05-19 10:42:22 EDT
If bug 138887 is not fixed, then we should workaround this in the DOM.
Comment 3 Kent Johnson CLA 2006-05-24 11:22:40 EDT
Fixed with the change for bug 142653
Comment 4 Olivier Thomann CLA 2006-05-26 11:31:37 EDT
Verified in I20060526-0010 for 3.2RC6