mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8319153: Fix: Class is a raw type in ProcessTools
Backport-of: 1c2ea1d27b
This commit is contained in:
committed by
Vitaly Provodin
parent
44458e4210
commit
3bb65dd8fd
@@ -920,7 +920,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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user