title: Initialize ArrayList<Long>
body: <p>Why I can initialize ArrayList, like this:</p>
  
  <pre><code>ArrayList&lt;Integer&gt; x = new ArrayList&lt;Integer&gt;(Arrays.asList(1,2));
  </code></pre>
  
  <p>But got Error when using:</p>
  
  <pre><code>ArrayList&lt;Long&gt; x = new ArrayList&lt;Long&gt;(Arrays.asList(1,2));
  </code></pre>