test/tools/javac/foreach/SuperfluousAbstract.java

Print this page

        

@@ -24,13 +24,10 @@
 /*
  * @test
  * @bug 4912795
  * @summary AbstractMethodError throws if not redeclare abstract iterator() method
  * @author gafter
- *
- * @compile -source 1.5 SuperfluousAbstract.java
- * @run main SuperfluousAbstract
  */
 
 import java.util.AbstractCollection;
 import java.util.Collection;
 import java.util.Iterator;