jdk-24/langtools/test/tools/javac/8002286/T8002286.java
Maurizio Cimadamore 4d8168a8e5 8002286: Regression: Fix for 8000931 causes a JCK test failure
Wrong type used as 'site' in Resolve.resolveMethod

Reviewed-by: jjg
2012-11-06 14:45:27 +00:00

13 lines
276 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8002286
* @summary Resolve should support nested resolution contexts
* @compile/fail/ref=T8002286.out -XDrawDiagnostics T8002286.java
*/
class T8002286 {
@Anno(nonExistent())
static class Test { }
@interface Anno { }
}