Sign in
android
/
platform
/
libcore
/
71f2c75111e87091616f0f3b86bea6c4d345dad1
/
.
/
test
/
langtools
/
tools
/
javac
/
annotations
/
neg
/
NoStaticAbstract.java
blob: af27fa75b9aceb7c88982f0c5ab6304f6d20c352 [
file
] [
log
] [
blame
]
/*
* @test /nodynamiccopyright/
* @bug 8022322
* @summary Static methods are not allowed in an annotation.
* @compile/fail/ref=NoStaticAbstract.out -XDrawDiagnostics NoStaticAbstract.java
*/
@interface
NoStaticAbstract
{
static
int
m
();
}