Bug 79609 - ITypeBinding#isEqualTo(..) thinks independent method type parameters are equal
Summary: ITypeBinding#isEqualTo(..) thinks independent method type parameters are equal
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-26 18:52 EST by Markus Keller CLA
Modified: 2004-12-15 07:59 EST (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 2004-11-26 18:52:55 EST
ITypeBinding#isEqualTo(..) thinks independent method type parameters are equal.

Here, T and Q are not equal:
    <T> void foo(T t) {}
    <Q> void bar(Q t) {}
Comment 1 Olivier Thomann CLA 2004-11-27 17:57:47 EST
Fixed and released in HEAD.
Regression test added in ASTConverter15Test.test0085
Comment 2 Olivier Thomann CLA 2004-11-27 18:07:37 EST
Reopen. Fix is incomplete.
Comment 3 Olivier Thomann CLA 2004-11-29 12:02:00 EST
Fixed and released in HEAD.
Regression test added in ASTConverter15Test.test0085.
Comment 4 Jerome Lanneluc CLA 2004-12-15 07:59:34 EST
Verified (in I20041214-2000) that the test ensures that the 2 type parameter
bindings are not equal.