author | vromero |
Fri, 10 Mar 2017 09:52:49 -0800 | |
changeset 44194 | c868c8c24e18 |
permissions | -rw-r--r-- |
/* * @test /nodynamiccopyright/ * @bug 8175198 * @summary Javac incorrectly allows receiver parameters in annotation methods * @compile/fail/ref=AnnotationsAndFormalParamsTest.out -XDrawDiagnostics -Werror -Xlint:unchecked AnnotationsAndFormalParamsTest.java */ @interface AnnotationsAndFormalParamsTest { int value(int i); int foo(AnnotationsAndFormalParamsTest this); }