test/tools/javac/generics/T4711572.java

changeset 289
84061bd68019
parent 1
9a66ca7c79fa
child 554
9d9f26857129
equal deleted inserted replaced
288:d402db1005ad 289:84061bd68019
25 * @test 25 * @test
26 * @bug 4711572 26 * @bug 4711572
27 * @summary generics: problem with type inference for recursive methods 27 * @summary generics: problem with type inference for recursive methods
28 * @author gafter 28 * @author gafter
29 * 29 *
30 * @compile -source 1.5 T4683314.java 30 * @compile T4683314.java
31 */ 31 */
32 32
33 class T4711572 { 33 class T4711572 {
34 static <T> boolean isOK(T x) { 34 static <T> boolean isOK(T x) {
35 return isOK(x); 35 return isOK(x);

mercurial