Add more missing type arguments for generic class Class<T>

Change-Id: I3ff55e9443074133fa19cbe4818c82d8be27e467
This commit is contained in:
David Pursehouse
2017-03-16 20:47:39 +09:00
parent 9173f23ca9
commit 71c510592e
3 changed files with 5 additions and 4 deletions

View File

@@ -200,7 +200,8 @@ public final class GerritLauncher {
if ((main.getModifiers() & Modifier.STATIC) == Modifier.STATIC) {
res = main.invoke(null, new Object[] {argv});
} else {
res = main.invoke(clazz.getConstructor(new Class[] {}).newInstance(), new Object[] {argv});
res =
main.invoke(clazz.getConstructor(new Class<?>[] {}).newInstance(), new Object[] {argv});
}
} catch (InvocationTargetException ite) {
if (ite.getCause() instanceof Exception) {