test/tools/javac/diags/examples/UndeterminedType1.java

changeset 1238
e28a06a3c5d9
parent 610
3640b60bd0f6
equal deleted inserted replaced
1237:568e70bbd9aa 1238:e28a06a3c5d9
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 // key: compiler.err.undetermined.type.1 24 // key: compiler.err.prob.found.req.1
25 // key: compiler.misc.undetermined.type
25 // key: compiler.misc.no.unique.maximal.instance.exists 26 // key: compiler.misc.no.unique.maximal.instance.exists
26 27
27 class UndeterminedType1<V> { 28 class UndeterminedType1<V> {
28 <T extends Integer & Runnable> UndeterminedType1<T> m() { 29 <T extends Integer & Runnable> UndeterminedType1<T> m() {
29 return null; 30 return null;

mercurial