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

Print this page

        

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