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

Print this page

        

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