Summary: | [1.5][compiler] capture conversion doesn't handle array types | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.2 | ||
Target Milestone: | 3.1.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Olivier Thomann
2005-08-12 11:49:41 EDT
Indeed this should be allowed. Note that javac also rejects it, likely the same bug we do have. Tuned ArrayBinding compatibility check against captures to check lower bounds. Added GenericTypeTest#test803. Test is actually #test804 Matching bug for javac is http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6268476 fixed Verified in I20050921-0010 for 3.2M2 Verified for 3.1.1 using M20050923-1430. |