Summary: | [1.5] compile error with conditional operator and wildcards | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Igor Fedorenko <igor> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Igor Fedorenko
2004-07-28 08:48:41 EDT
Our lowerUpperBound algorithm did not properly infer that ArrayList<String> and ArrayList<Object> had a better common supertype than Object, which is: ArrayList<? extends Object>. Fixed, added regression test GenericTypeTest#test270. Fixed |