1.1 --- a/src/share/classes/com/sun/tools/javac/Main.java Thu Jan 08 16:34:58 2009 -0800 1.2 +++ b/src/share/classes/com/sun/tools/javac/Main.java Tue Jan 13 13:27:14 2009 +0000 1.3 @@ -56,7 +56,7 @@ 1.4 if (args.length > 0 && args[0].equals("-Xjdb")) { 1.5 String[] newargs = new String[args.length + 2]; 1.6 Class<?> c = Class.forName("com.sun.tools.example.debug.tty.TTY"); 1.7 - Method method = c.getDeclaredMethod ("main", new Class[] {args.getClass()}); 1.8 + Method method = c.getDeclaredMethod ("main", new Class<?>[] {args.getClass()}); 1.9 method.setAccessible(true); 1.10 System.arraycopy(args, 1, newargs, 3, args.length - 1); 1.11 newargs[0] = "-connect";