Summary: | NPE in WildcardBinding.signature with Mark Occurrences in Collections.class | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Markus Keller
2004-12-02 03:41:53 EST
Only the DOM is asking for WildcardBinding.signature(). It is indeed doomed in the case of unbound wildcard. Made WildcardBinding#signature() answer the genericTypeSignature instead, but this is likely an issue in DOM key computation which shouldn't perform on the parameterized (generic) method, and rather use the original method (and record type arguments separately). Actually, made the signature for wildcards not answer any generic information (bound or matching variable signature). Fixed MethodBinding#computeUniqueKey() to use the original method for the signature. Need a regression test. Added regression test ASTConverter15Test#test0089() Verified for 3.1 M4 using build I200412142000. |