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

@ -74,7 +74,7 @@ public abstract class Trees {
ClassLoader cl = arg.getClass().getClassLoader();
Class<?> c = Class.forName("com.sun.tools.javac.api.JavacTrees", false, cl);
argType = Class.forName(argType.getName(), false, cl);
Method m = c.getMethod("instance", new Class[] { argType });
Method m = c.getMethod("instance", new Class<?>[] { argType });
return (Trees) m.invoke(null, new Object[] { arg });
} catch (Throwable e) {
throw new AssertionError(e);