Summary: | [1.5][compiler] lower bounded wildcard misunderstood | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Maximiliano Sanchez de Bustamante <maxi_sb> | ||||
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> | ||||
Status: | RESOLVED WORKSFORME | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1 M5 | ||||||
Hardware: | PC | ||||||
OS: | Windows 2000 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Maximiliano Sanchez de Bustamante
2005-02-02 13:45:19 EST
Created attachment 17635 [details]
Complete test case
We report:
----------
1. ERROR in c:\tests_sources\Test.java
(at line 28)
String str = this.writeAll(cs, s);
^^^^^^^^
The method writeAll(Collection<T>, Sink<? super T>) in the type Test is not
applicable for the arguments (Collection<String>, Sink<Object>)
----------
1 problem
javac compiles fine.
Added GenericTypeTest#test500. Was resolved when tuned generic method type argument inference (JLS 15.12.2.7&8). |