test/tools/javac/lambda/LambdaScope05.out

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

author
mcimadamore
date
Thu, 25 Jul 2013 14:49:16 +0100
changeset 1920
b02f28bf7f1c
parent 1813
f218bb5ebd53
child 2222
8832b6048e65
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

mcimadamore@1813 1 LambdaScope05.java:13:47: compiler.err.already.defined.in.clinit: kindname.variable, p, kindname.static.init, kindname.class, LambdaScope05
mcimadamore@1813 2 LambdaScope05.java:14:40: compiler.err.already.defined.in.clinit: kindname.variable, p, kindname.instance.init, kindname.class, LambdaScope05
mcimadamore@1813 3 LambdaScope05.java:17:43: compiler.err.already.defined.in.clinit: kindname.variable, p, kindname.static.init, kindname.class, LambdaScope05
mcimadamore@1813 4 LambdaScope05.java:21:43: compiler.err.already.defined.in.clinit: kindname.variable, p, kindname.instance.init, kindname.class, LambdaScope05
mcimadamore@1813 5 LambdaScope05.java:25:43: compiler.err.already.defined: kindname.variable, p, kindname.method, m_static()
mcimadamore@1813 6 LambdaScope05.java:29:43: compiler.err.already.defined: kindname.variable, p, kindname.method, m()
mcimadamore@1813 7 6 errors

mercurial