Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
libcore
/
3789983e89c9de252ef546a1b98a732a7d066650
/
.
/
test
/
langtools
/
tools
/
javac
/
annotations
/
neg
/
NoDefaultAbstract.java
blob: 6c288810fe125bd69dfd7781abbcfdd5347624e1 [
file
] [
log
] [
blame
]
/*
* @test /nodynamiccopyright/
* @bug 8022322
* @summary Default methods are not allowed in an annotation.
* @compile/fail/ref=NoDefaultAbstract.out -XDrawDiagnostics NoDefaultAbstract.java
*/
@interface
NoDefaultAbstract
{
default
int
m
();
}