Wed, 13 Aug 2014 14:50:00 -0700
Added tag jdk8u40-b01 for changeset bf89a471779d
aoqi@0 | 1 | /* |
aoqi@0 | 2 | * @test /nodynamiccopyright/ |
aoqi@0 | 3 | * @bug 8022322 |
aoqi@0 | 4 | * @summary Default methods are not allowed in an annotation. |
aoqi@0 | 5 | * @compile/fail/ref=NoDefaultAbstract.out -XDrawDiagnostics NoDefaultAbstract.java |
aoqi@0 | 6 | */ |
aoqi@0 | 7 | @interface NoDefaultAbstract { |
aoqi@0 | 8 | default int m(); |
aoqi@0 | 9 | } |