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

Print this page

        

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