See the API for Arrays.asList...it accepts an array of objects - not primitives (in many cases the compiler is smart enough to interchange through something called autoboxing - in this case not)....