1.1 --- a/test/tools/javac/diags/examples/IncompatibleTypes1.java Tue Apr 10 23:19:26 2012 -0700 1.2 +++ b/test/tools/javac/diags/examples/IncompatibleTypes1.java Wed Apr 11 10:50:11 2012 +0100 1.3 @@ -25,9 +25,9 @@ 1.4 // key: compiler.err.prob.found.req.1 1.5 1.6 class IncompatibleTypes1<V> { 1.7 - <T extends Integer & Runnable> IncompatibleTypes1<T> m() { 1.8 + <T> IncompatibleTypes1<Integer> m() { 1.9 return null; 1.10 } 1.11 1.12 - IncompatibleTypes1<? super String> o = m(); 1.13 + IncompatibleTypes1<? extends String> o = m(); 1.14 }