test/tools/javac/foreach/SuperfluousAbstract.java

Print this page

        

*** 24,36 **** /* * @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; --- 24,33 ----