8319153: Fix: Class is a raw type in ProcessTools
Reviewed-by: dholmes, mli, lmesnik, jpai
This commit is contained in:
parent
96e6e670b5
commit
1c2ea1d27b
@ -921,7 +921,7 @@ public final class ProcessTools {
|
||||
String className = args[1];
|
||||
String[] classArgs = new String[args.length - 2];
|
||||
System.arraycopy(args, 2, classArgs, 0, args.length - 2);
|
||||
Class c = Class.forName(className);
|
||||
Class<?> c = Class.forName(className);
|
||||
Method mainMethod = c.getMethod("main", new Class[] { String[].class });
|
||||
mainMethod.setAccessible(true);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user