test/tools/javac/Diagnostics/6862608/T6862608a.out

Fri, 16 Sep 2011 14:16:11 +0100

author
mcimadamore
date
Fri, 16 Sep 2011 14:16:11 +0100
changeset 1093
c0835c8489b0
parent 689
77cc34d5e548
child 1296
cddc2c894cc6
permissions
-rw-r--r--

7086586: Inference producing null type argument
Summary: Inference should fail in 15.12.2.7 when inference variables with 'nulltype' upper bounds are found
Reviewed-by: dlsmith

     1 T6862608a.java:19:33: compiler.err.cant.apply.symbol.1: kindname.method, compound, java.lang.Iterable<? extends java.util.Comparator<? super T>>, java.util.List<java.util.Comparator<?>>, kindname.class, T6862608a, (compiler.misc.infer.no.conforming.assignment.exists: T, java.util.List<java.util.Comparator<?>>, java.lang.Iterable<? extends java.util.Comparator<? super T>>)
     2 - compiler.misc.where.description.typevar: T,{(compiler.misc.where.typevar: T, java.lang.Object, kindname.method, <T>compound(java.lang.Iterable<? extends java.util.Comparator<? super T>>))}
     3 1 error

mercurial