test/tools/javac/foreach/GenericIterator.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4898618
  * @summary extended 'for' with generic collections causes the compiler to crash
  * @author gafter
  *
- * @compile -source 1.5 GenericIterator.java
+ * @compile GenericIterator.java
  */
 
 import java.util.*;
 
 class GenericIterator<T> {