title: trouble initialize List<Object[]> Using Arrays.asList
body: <p>When I initialize List, I am able to do this:</p>
  
  <pre><code>List&lt;Object[]&gt; foo = new ArrayList&lt;&gt;();
  foo.add(new Object[]{816, "foo", 2.6});
  </code></pre>
  
  <p>But when I want to simplify it using <code>Arrays.asList</code>:</p>
  
  <pre><code>List&lt;Object[]&gt; bar = Arrays.asList(new Object[]{"bar", 286});
  </code></pre>
  
  <p>It cannot compile with error:</p>
  
  <pre><code>incompatible types: inference variable T has incompatible bounds
  equality constraints: java.lang.Object[]
  lower bounds: java.lang.Object
  </code></pre>
  
  <p>Why it cannot do the type inference right and how to fix this?</p>