7104650: rawtype warnings in several net, nio and security source files

Also reviewed by Ulf.Zibis@gmx.de

Reviewed-by: mcimadamore, alanb, dholmes
This commit is contained in:
Chris Hegarty 2011-10-26 13:58:46 +01:00
parent 616b1a997f
commit 15d761f763
6 changed files with 19 additions and 17 deletions

View file

@ -267,10 +267,9 @@ class ServerSocket implements java.io.Closeable {
AccessController.doPrivileged(
new PrivilegedExceptionAction<Void>() {
public Void run() throws NoSuchMethodException {
Class[] cl = new Class[2];
cl[0] = SocketAddress.class;
cl[1] = Integer.TYPE;
impl.getClass().getDeclaredMethod("connect", cl);
impl.getClass().getDeclaredMethod("connect",
SocketAddress.class,
int.class);
return null;
}
});