1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/tools/javac/8002286/T8002286.java Wed Apr 27 01:34:52 2016 +0800 1.3 @@ -0,0 +1,12 @@ 1.4 +/* 1.5 + * @test /nodynamiccopyright/ 1.6 + * @bug 8002286 1.7 + * @summary Resolve should support nested resolution contexts 1.8 + * @compile/fail/ref=T8002286.out -XDrawDiagnostics T8002286.java 1.9 + */ 1.10 +class T8002286 { 1.11 + @Anno(nonExistent()) 1.12 + static class Test { } 1.13 + 1.14 + @interface Anno { } 1.15 +}