- for(Object o : argo) if (o != null) c = Reflection.lub(c, o.getClass());
+ for(int i=0; i<argo.length; i++) {
+ if (argo[i]==null) continue;
+ argo[i] = lub(argo[i]);
+ c = Reflection.lub(c, argo[i].getClass());
+ }
if (c==null) c = Object.class;
Object[] ret = Reflection.newArray(c, argo.length);
System.arraycopy(argo, 0, ret, 0, argo.length);
if (c==null) c = Object.class;
Object[] ret = Reflection.newArray(c, argo.length);
System.arraycopy(argo, 0, ret, 0, argo.length);
/** a version of <tt>Class.forName</tt> that returns <tt>null</tt> instead of throwing an exception */
public static Class forNameOrNull(String s) {
try {
/** a version of <tt>Class.forName</tt> that returns <tt>null</tt> instead of throwing an exception */
public static Class forNameOrNull(String s) {
try {