Summary: | ClassCastException with generic wildcard | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Chris Burnley <chris.burnley+eclipse> |
Component: | Compiler | Assignee: | Adrian Colyer <adrian.colyer> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P3 | ||
Version: | 1.5.0M4 | ||
Target Milestone: | 1.5.0RC1 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Chris Burnley
2005-10-14 04:13:34 EDT
The problem here is that in the expression 'Class<? extends Collection<?>>' the upperbound of the wildcard ? is being incorrectly set to a simple type with signature 'Collection<?>' which of course does not exist - it should be getting set to a parameterized type with basetype 'Collection' and typeparameter '?'. I've fixed this in CVS - waiting on build before closing. Fix available in AspectJ - will appear in next AJDT. |