Bug 78520

Summary: [model] IType#getSuperInterfaceTypeSignatures() doesn't include type arguments
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
BinaryType.diff none

Description Markus Keller CLA 2004-11-12 11:33:01 EST
200411111200

Calling IType#getSuperInterfaceTypeSignatures() on the IType for binary type
'Integer' (from an 1.5 rt.jar) yields '[Ljava.lang.Comparable;]'. The type
argument from the declaration ('implements Comparable<Integer>') is missing.
Comment 1 Jerome Lanneluc CLA 2005-01-05 12:25:38 EST
Fixed BinaryType#getSuperInterfaceSignatures() to use the generic signature if
present.
Added regression test ClassFileTests#testGetSuperInterfaceSignatures()
Comment 2 Tom Hofmann CLA 2005-01-05 13:48:42 EST
Created attachment 16949 [details]
BinaryType.diff

Now the the signatures returned use '/' as package fragment separator - the
returned names should be filtered through ClassFile.translatedName as well, see
the enclosed patch.
Comment 3 Jerome Lanneluc CLA 2005-01-05 13:59:16 EST
You're right. Thanks for the fix Tom. It is now released and the test updated.
Comment 4 David Audel CLA 2005-02-15 06:47:02 EST
Verified in I20050214-0927