test/tools/javac/lambda/MethodReference68.out

Thu, 25 Jul 2013 14:49:16 +0100

author
mcimadamore
date
Thu, 25 Jul 2013 14:49:16 +0100
changeset 1920
b02f28bf7f1c
parent 1897
866c87c01285
child 2193
d4cbb671de1c
permissions
-rw-r--r--

8016081: field initialized with lambda in annotation types doesn't compile
Summary: check for annotation attributes should skip over synthetic methods
Reviewed-by: jjg

     1 MethodReference68.java:21:10: compiler.err.cant.apply.symbol: kindname.method, g, MethodReference68.F<Z>,Z[], @493,int, kindname.class, MethodReference68, (compiler.misc.inferred.do.not.conform.to.upper.bounds: java.lang.Integer, MethodReference68.Foo,java.lang.Object)
     2 1 error

mercurial