Bug 138671

Summary: [dom] ITypeBindings' supertypes incomplete with illegally parameterized superinterfaces
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 RC6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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