title: Type mismatch: cannot convert from Comparator<capture#2-of ? super T> to Comparator<? super T>
body: <pre><code>public class MergeSort&lt;T&gt; {
       private  Comparator&lt;? super T&gt; c;
  
        &lt;T&gt; void sort(T[] a, Comparator&lt;? super T&gt; c) {
              mergeSort(a, 0, a.length);
              this.c = c;
          }
  }
  </code></pre>
  
  <p>Getting compilation error at <code>this.c = c</code>. Error is "Type mismatch: cannot convert from Comparator to Comparator"</p>