Bug 79271 - ITypeBinding#isEqualTo(..) returns true when comparing ArrayList<Integer> to its erasure
Summary: ITypeBinding#isEqualTo(..) returns true when comparing ArrayList<Integer> to ...
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-23 07:27 EST by Markus Keller CLA
Modified: 2004-12-14 11:54 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-23 07:27:28 EST
I20041117-0800 + jdt.core & ui as for I20041123-0800

ITypeBinding#isEqualTo(..) returns true when comparing ArrayList<Integer> to its
erasure. Expected: false.
Comment 1 Olivier Thomann CLA 2004-11-24 12:07:15 EST
I was just comparing the compoundNames for reference bindings. I added extra checks.
Fixed and released in HEAD.
Regression test added in ASTConverter15Test.test0075.
Comment 2 Jerome Lanneluc CLA 2004-12-14 11:54:29 EST
Verified (in I200412140800) that the test ensures that the binding and its
erasure  are not isEqualTo(...)