Summary: | [1.5][wildcards] Not-necessarily-unbounded wildcards in method formal parameter types | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | John Maraist <from-eclipse> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | BJGeraci |
Version: | 3.1 | ||
Target Milestone: | 3.1 M3 | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
John Maraist
2004-10-13 19:55:56 EDT
JDT compiler still complains with last build I200410260800: ---------- 1. ERROR in D:\usr\OTI\workspaces\dvpt\v31\HEAD\_Bug\BB.java (at line 2) public boolean m(AA<U, ?> wht) { return wht.z().b(); } ^ Bound mismatch: The type ? is not a valid substitute for the bounded parameter <Z extends AA<W,Z>> of the type AA<W,Z> ---------- 1 problem (1 error) Added regression test: GenericTypeTest#test378. Rewrote the type argument comparisons. Fixed Verified for 3.1 M3 with build I200411040800 |