Duplicate :
|
|
Relates :
|
|
Relates :
|
I think the following signature: public static <T> T[] Array.newInstance(Class<T> componentType, int length) is more type safe than the current one: public static Object Array.newInstance(Class<?> componentType, int length) Is there any reason we can't do this? ###@###.### 2004-09-14
|