mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
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:
parent
616b1a997f
commit
15d761f763
6 changed files with 19 additions and 17 deletions
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue