diff -r c33f7ddeeff2 -r 82c7aa6fe50a test/tools/javac/NonStaticFieldExpr3.java --- a/test/tools/javac/NonStaticFieldExpr3.java Tue Jul 08 18:06:19 2008 -0700 +++ b/test/tools/javac/NonStaticFieldExpr3.java Thu Jul 10 11:25:23 2008 -0700 @@ -3,7 +3,7 @@ @author dps @summary class: instance access through types is not allowed - @run shell NonStaticFieldExpr3.sh + @compile/fail/ref=NonStaticFieldExpr3.out -XDrawDiagnostics -XDstdout NonStaticFieldExpr3.java */ class NonStaticFieldExpr3 {