1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/tools/javac/T8026963/TypeAnnotationsCrashWithErroneousTreeTest.java Wed Apr 27 01:34:52 2016 +0800 1.3 @@ -0,0 +1,10 @@ 1.4 +/* 1.5 + * @test /nodynamiccopyright/ 1.6 + * @bug 8026963 1.7 + * @summary type annotations code crashes for lambdas with void argument 1.8 + * @compile/fail/ref=TypeAnnotationsCrashWithErroneousTreeTest.out -XDrawDiagnostics -XDshouldStopPolicy=FLOW TypeAnnotationsCrashWithErroneousTreeTest.java 1.9 + */ 1.10 + 1.11 +public class TypeAnnotationsCrashWithErroneousTreeTest { 1.12 + private void t(this) {} 1.13 +}