test/tools/javac/foreach/GenericIterator.java
Print this page
*** 25,35 ****
* @test
* @bug 4898618
* @summary extended 'for' with generic collections causes the compiler to crash
* @author gafter
*
! * @compile -source 1.5 GenericIterator.java
*/
import java.util.*;
class GenericIterator<T> {
--- 25,35 ----
* @test
* @bug 4898618
* @summary extended 'for' with generic collections causes the compiler to crash
* @author gafter
*
! * @compile GenericIterator.java
*/
import java.util.*;
class GenericIterator<T> {