test/tools/javac/lambda/MethodReference67.out

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

author
mcimadamore
date
Thu, 25 Jul 2013 14:49:16 +0100
changeset 1920
b02f28bf7f1c
parent 0
959103a6100f
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 MethodReference67.java:16:9: compiler.warn.raw.class.use: MethodReference67.Foo, MethodReference67.Foo<X>
     2 MethodReference67.java:16:19: compiler.warn.raw.class.use: java.util.List, java.util.List<E>
     3 - compiler.err.warnings.and.werror
     4 - compiler.note.unchecked.filename: MethodReference67.java
     5 - compiler.note.unchecked.recompile
     6 1 error
     7 2 warnings

mercurial