Main.java:16: error: incompatible types: Object cannot be converted to CAP#1
p.test(new Object());
^
where CAP#1 is a fresh type-variable:
CAP#1 extends Object super: URL from capture of ? super URL
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error