On Tue, Jul 13, 2010 at 11:08 PM, Nathan Bryant <nathan.bryant at linkshare.com> wrote: > void set(int i, T t) { arr[i] = t; } // Either causes autoboxing > unbeknownst to the sorry fool who wrote new Foo<int>, or becomes illegal How about just erasing T[] to Object and let API-developers worry about picking an array implementation? BR, John