test/tools/javac/annotations/typeAnnotations/failures/StaticMethods.java

changeset 2134
b0c086cd4520
parent 2133
19e8eebfbe52
child 2135
d7e155f874a7
     1.1 --- a/test/tools/javac/annotations/typeAnnotations/failures/StaticMethods.java	Tue Oct 15 22:15:35 2013 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,12 +0,0 @@
     1.4 -/*
     1.5 - * @test /nodynamiccopyright/
     1.6 - * @bug 6843077 8006775
     1.7 - * @summary static methods don't have receivers
     1.8 - * @author Mahmood Ali
     1.9 - * @compile/fail/ref=StaticMethods.out -XDrawDiagnostics StaticMethods.java
    1.10 - */
    1.11 -class StaticMethods {
    1.12 -  static void main(StaticMethods this) { }
    1.13 -}
    1.14 -
    1.15 -@interface A { }

mercurial