title: Why Collections.min(Arrays.asList(new Base(), new Base())) gives a strange compile error (Eclipse)?
body: <p>Why for class Base I get a strange compile error (Eclipse):   </p>
  
  <pre><code> Collections.min(Arrays.asList(new Base(), new Base()));
  </code></pre>
  
  <p>fails with compile error:</p>
  
  <pre><code>Type mismatch: cannot convert from List&lt;Base&gt; to Collection&lt;? extends T&gt;
      - The method min(Collection&lt;? extends T&gt;) in the type Collections is not applicable for the arguments (List&lt;Base&gt;)
  </code></pre>
  
  <p>P.S. I understand that class Base shall be Comparable, but the compiler complains not about that...   min expects Collection as its argument, and Arrays.asList returns List, List is a Collection.</p>
  
  <p>The error above is gone if I make class Base implement Comparable, but anyway the error is strange.</p>