test/tools/javac/8002286/T8002286.java

Wed, 23 Jan 2013 13:27:24 -0800

author
jjg
date
Wed, 23 Jan 2013 13:27:24 -0800
changeset 1521
71f35e4b93a5
parent 0
959103a6100f
permissions
-rw-r--r--

8006775: JSR 308: Compiler changes in JDK8
Reviewed-by: jjg
Contributed-by: mernst@cs.washington.edu, wmdietl@cs.washington.edu, mpapi@csail.mit.edu, mahmood@notnoop.com

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 8002286
     4  * @summary Resolve should support nested resolution contexts
     5  * @compile/fail/ref=T8002286.out -XDrawDiagnostics T8002286.java
     6  */
     7 class T8002286 {
     8     @Anno(nonExistent())
     9     static class Test { }
    11     @interface Anno { }
    12 }

mercurial