Bug 80041 - IVariableBinding#isEqualTo(..) doesn't tell parameters from different methods apart
Summary: IVariableBinding#isEqualTo(..) doesn't tell parameters from different methods...
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-12-02 12:51 EST by Markus Keller CLA
Modified: 2004-12-15 13:07 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-12-02 12:51:35 EST
I200412011139

class P {
    void m(Object obj) {}
    void foo(Object obj) {}
}
class Q {
    void m(Object obj) {}
}

All 'obj' are considered isEqualTo each other.
Comment 1 Olivier Thomann CLA 2004-12-02 21:16:45 EST
Fixed and released in HEAD.
I added a check for equality of the declaring method.
Regression test added.
Comment 2 Frederic Fusier CLA 2004-12-15 13:07:24 EST
Verified for 3.1 M4 using build I200412142000 + Comparison tray of ASTView 1.0.2