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

Print this page

        

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