title: Cannot cast from Boolean[] to List<Boolean>
body: <p>I have this compilation error when I write the following code</p>
  
  <pre><code>Boolean[] booleans = new Boolean[]{true, false, false};
  String[] strings = new String[]{"hello", "world"};
  Integer[] integers = new Integer[]{1, 2, 3, 4};
  
  // When the above instances are cast to Object[], it all works fine
  Object[] booleansObj = (Object[])booleans;
  Object[] stringsObj = (Object[])strings;
  Object[] integersObj = (Object[])integers;
  
  // When the above instances are cast to List&lt;T&gt;. String and Integer still
  // works, but not for Boolean
  List&lt;String&gt; stringsList = (List&lt;String&gt;)strings;
  List&lt;Integer&gt; integersList = (List&lt;Integer&gt;)integers;
  
  // this will have Cannot cast from Boolean[] to List&lt;Boolean&gt; error
  List&lt;Boolean&gt; booleansList = (List&lt;Boolean&gt;)booleans;
  </code></pre>
  
  <p>My question is why Boolean[] can not cast to List?</p>