Summary: | resolved key of methods should contain parametrized types | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | philippe_mulet |
Version: | 3.1 | ||
Target Milestone: | 3.1 M7 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 87174 |
Description
Martin Aeschlimann
2005-04-04 12:56:35 EDT
The method binding computed by SelectionEngine is correct but generic binary method binding modifiers are not set to AccGenericSignature. MethodBinding#computeUniqueKey(...) use MethodBinding#genericSignature(). But this method return null when AccGenericSignature is not set and MethodBinding#signature() is called instead. That's why the key is not correct. The correct key should be "Ljava/util/ArrayList<Ljava/lang/String;>;.get(I)TE;" and not Ljava/util/ArrayList<Ljava/lang/String;>;.get(I)Ljava/lang/Object; Philippe - binary method binding could be flag as AccGenericSignature ? If not, we need to temporary flag the method during key computation. Now binary method modifier contain AccGenericSignature. Fixed and test added ResolvedTests_1_5#test0094() Verified in I20050510-0010 + JDT/Core v_556 |