Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.2, 2.3.0, 2.4.0-rc-1
-
None
Description
public <T extends List<CharSequence>> void bar(T a){} bar([new Object()])
This should not compile because Object is no CharSequence, but it does, because the type checker will simply ignore the bound and set T to LinkedList<Object>