test/tools/javac/InvalidIntfCast.java

Print this page

        

*** 25,35 **** * @test * @bug 4023359 4948130 * @summary The compiler should detect an invalid cast between interfaces. * @author turnidge * ! * @compile -source 1.5 InvalidIntfCast.java */ interface I { void method(); } --- 25,35 ---- * @test * @bug 4023359 4948130 * @summary The compiler should detect an invalid cast between interfaces. * @author turnidge * ! * @compile InvalidIntfCast.java */ interface I { void method(); }