Community
Participate
Working Groups
"Bound mismatch: The type U is not a valid substitute for the bounded parameter <T extends Number> of the type Test<T>\n" +
"----------\n");
}
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=284296
public void test284296() {
this.runConformTest(
new String[] {
"Test.java",
"public class Test {\n" +
" public static void main(String[] args) {\n" +
" List<List<Integer>> list = new ListList<Integer>();\n" +
" System.out.println(list instanceof ListList<?>);\n" +
" }\n" +
"}\n" +
"interface List<T> {}\n" +
"class ArrayList<T> implements List<T> {}\n" +
"class ListList<T> extends ArrayList<List<T>> {}\n"
},
"true");