title: Java: Why isn't autoboxing happening here?
body: <p>This gives me an error:</p>
  
  <pre><code>int[] l = new int[] {0, 2, 192, -1, 3, 9, 2, 2};
  int[] l2 = new int[] {9001, 7, 21, 4, -3, 11, 10, 10};
  int[] l3 = new int[] {5, 5, 5, 64, 21, 12, 13, 200};
  
  Set&lt;List&lt;Integer&gt;&gt; lists = new HashSet&lt;List&lt;Integer&gt;&gt;();
  lists.add(Arrays.asList(l));
  </code></pre>
  
  <blockquote>
    <p>Eclipse: The method <code>add(List&lt;Integer&gt;)</code> in the type <code>Set&lt;List&lt;Integer&gt;&gt;</code> is not applicable for the arguments (<code>List&lt;int[]&gt;</code>)</p>
  </blockquote>
  
  <p>I thought <code>int</code> was supposed to be autoboxed to <code>Integer</code>?</p>