Main.java:16: error: incompatible types: List<CAP#1> cannot be converted to List<Object>
noGeneric.call(produce());
^
where CAP#1 is a fresh type-variable:
CAP#1 extends Object from capture of ? extends Object
Main.java:20: error: incompatible types: List<CAP#1> cannot be converted to List<Object>
generic.call(produce());
^
where CAP#1 is a fresh type-variable:
CAP#1 extends Object from capture of ? extends Object
Main.java:24: error: incompatible types: List<CAP#1> cannot be converted to List<Object>
generic.call(produce());
^
where CAP#1 is a fresh type-variable:
CAP#1 extends Object from capture of ? extends Object
Note: Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
3 errors