Extra normalization, otherwise compatibility is not guaranteed.

This commit is contained in:
Ruben Dijkstra 2014-04-10 21:31:07 +02:00
parent ce2c062b44
commit 7779515f59

View File

@ -134,7 +134,7 @@ public class ConstructorUtils {
private static Class<?> normalize(Class<?> clazz) {
if (clazz.isArray()) {
return clazz.getComponentType();
clazz = clazz.getComponentType();
}
return Primitives.wrap(clazz);
}