Main.java:13: error: incompatible types: Object cannot be converted to CAP#1
list.set(0, f);
^
where CAP#1 is a fresh type-variable:
CAP#1 extends Object from capture of ?
Main.java:14: error: incompatible types: Object cannot be converted to CAP#1
list.set(1, e);
^
where CAP#1 is a fresh type-variable:
CAP#1 extends Object from capture of ?
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors