title: Java Arrays.asList on primitive array type produces unexpected List type
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1467913/arrays-aslist-not-working-as-it-should">Arrays.asList() not working as it should?</a>  </p>
  </blockquote>
  
  
  
  <p>Apparently the return type of <code>Arrays.asList(new int[] { 1, 2, 3 });</code> is <code>List&lt;int[]&gt;</code>. This seems totally broken to me. Does this have something to do with Java not autoboxing arrays of primitive types?</p>