Fri, 03 May 2013 09:56:56 -0700
8012728: Normalize @ignore comments on langtools tests
Reviewed-by: vromero, mcimadamore
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 6843077 8006775
4 * @summary static methods don't have receivers
5 * @author Mahmood Ali
6 * @compile/fail/ref=StaticMethods.out -XDrawDiagnostics StaticMethods.java
7 */
8 class StaticMethods {
9 static void main(@A StaticMethods this) { }
10 }
12 @interface A { }