test/tools/javac/generics/wildcards/AssignmentSameType4.java

Print this page

        

*** 23,33 **** /* * @test * @summary Test subtyping for wildcards with the same type bound. * ! * @compile/fail -source 1.5 AssignmentSameType4.java */ public class AssignmentSameType4 { public static void main(String[] args) { --- 23,33 ---- /* * @test * @summary Test subtyping for wildcards with the same type bound. * ! * @compile/fail AssignmentSameType4.java */ public class AssignmentSameType4 { public static void main(String[] args) {