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

Print this page

        

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