6765045: Remove rawtypes warnings from langtools

Removed all occurrences of rawtypes warnings from langtools

Reviewed-by: jjg, bpatel
This commit is contained in:
Maurizio Cimadamore 2009-01-13 13:27:14 +00:00
parent a23159ffac
commit 795b53a014
60 changed files with 229 additions and 231 deletions

View file

@ -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";