mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6765045: Remove rawtypes warnings from langtools
Removed all occurrences of rawtypes warnings from langtools Reviewed-by: jjg, bpatel
This commit is contained in:
parent
a23159ffac
commit
795b53a014
60 changed files with 229 additions and 231 deletions
|
@ -56,7 +56,7 @@ public class Main {
|
|||
if (args.length > 0 && args[0].equals("-Xjdb")) {
|
||||
String[] newargs = new String[args.length + 2];
|
||||
Class<?> c = Class.forName("com.sun.tools.example.debug.tty.TTY");
|
||||
Method method = c.getDeclaredMethod ("main", new Class[] {args.getClass()});
|
||||
Method method = c.getDeclaredMethod ("main", new Class<?>[] {args.getClass()});
|
||||
method.setAccessible(true);
|
||||
System.arraycopy(args, 1, newargs, 3, args.length - 1);
|
||||
newargs[0] = "-connect";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue