langtools/test/tools/javac/8002286/T8002286.java
author sogoel
Fri, 29 Aug 2014 00:42:42 -0700
changeset 26274 02a5b23ee21c
parent 14446 88145bb2ddcd
permissions -rw-r--r--
8055074: Group 9a: golden files for tests in tools/javac dir Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14446
88145bb2ddcd 8002286: Regression: Fix for 8000931 causes a JCK test failure
mcimadamore
parents:
diff changeset
     1
/*
88145bb2ddcd 8002286: Regression: Fix for 8000931 causes a JCK test failure
mcimadamore
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
88145bb2ddcd 8002286: Regression: Fix for 8000931 causes a JCK test failure
mcimadamore
parents:
diff changeset
     3
 * @bug 8002286
88145bb2ddcd 8002286: Regression: Fix for 8000931 causes a JCK test failure
mcimadamore
parents:
diff changeset
     4
 * @summary Resolve should support nested resolution contexts
88145bb2ddcd 8002286: Regression: Fix for 8000931 causes a JCK test failure
mcimadamore
parents:
diff changeset
     5
 * @compile/fail/ref=T8002286.out -XDrawDiagnostics T8002286.java
88145bb2ddcd 8002286: Regression: Fix for 8000931 causes a JCK test failure
mcimadamore
parents:
diff changeset
     6
 */
88145bb2ddcd 8002286: Regression: Fix for 8000931 causes a JCK test failure
mcimadamore
parents:
diff changeset
     7
class T8002286 {
88145bb2ddcd 8002286: Regression: Fix for 8000931 causes a JCK test failure
mcimadamore
parents:
diff changeset
     8
    @Anno(nonExistent())
88145bb2ddcd 8002286: Regression: Fix for 8000931 causes a JCK test failure
mcimadamore
parents:
diff changeset
     9
    static class Test { }
88145bb2ddcd 8002286: Regression: Fix for 8000931 causes a JCK test failure
mcimadamore
parents:
diff changeset
    10
88145bb2ddcd 8002286: Regression: Fix for 8000931 causes a JCK test failure
mcimadamore
parents:
diff changeset
    11
    @interface Anno { }
88145bb2ddcd 8002286: Regression: Fix for 8000931 causes a JCK test failure
mcimadamore
parents:
diff changeset
    12
}