Skip to content

Commit

Permalink
8319153: Fix: Class is a raw type in ProcessTools
Browse files Browse the repository at this point in the history
Backport-of: 1c2ea1d
  • Loading branch information
GoeLin committed Apr 4, 2024
1 parent 702d337 commit 1563c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/jdk/test/lib/process/ProcessTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ public static void main(String[] args) throws Throwable {
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);

Expand Down

0 comments on commit 1563c54

Please sign in to comment.