changeset 7072 | 4863847e93a5 |
parent 7071 | 8bcda461a06a |
child 7073 | c27644ae5855 |
--- a/langtools/test/tools/javac/typeAnnotations/failures/StaticFields.java Tue Oct 19 11:47:17 2010 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ -/* - * @test /nodynamiccopyright/ - * @bug 6843077 - * @summary static field access isn't a valid location - * @author Mahmood Ali - * @compile/fail/ref=StaticFields.out -XDrawDiagnostics -source 1.7 StaticFields.java - */ -class C { - int f; - int a = @A C.f; -} - -@interface A { }