langtools/test/tools/javac/NonStaticFieldExpr3.java
changeset 863 3113c955a388
parent 10 06bc494ca11e
child 6150 d055fa8ced62
--- a/langtools/test/tools/javac/NonStaticFieldExpr3.java	Tue Jul 08 18:06:19 2008 -0700
+++ b/langtools/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 {