langtools/test/tools/javac/CyclicInheritance.java
changeset 863 3113c955a388
parent 10 06bc494ca11e
child 6150 d055fa8ced62
--- a/langtools/test/tools/javac/CyclicInheritance.java	Tue Jul 08 18:06:19 2008 -0700
+++ b/langtools/test/tools/javac/CyclicInheritance.java	Thu Jul 10 11:25:23 2008 -0700
@@ -4,7 +4,7 @@
  * @summary Test that recursive 'extends' and 'implements' clauses are detected
  * and disallowed.
  *
- * @run shell CyclicInheritance.sh
+ * @compile/fail/ref=CyclicInheritance.out -XDrawDiagnostics -XDstdout CyclicInheritance.java
  */