test/tools/javac/generics/wildcards/neg/CastWarn3.java

Print this page

        

*** 25,35 **** * @test * @bug 4916607 * @summary Test casts (legal, warning, and errors) * @author gafter * ! * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn3.java */ import java.util.*; class CastTest { --- 25,35 ---- * @test * @bug 4916607 * @summary Test casts (legal, warning, and errors) * @author gafter * ! * @compile/fail -Werror -Xlint:unchecked CastWarn3.java */ import java.util.*; class CastTest {