7091369: DatagramSocket/Limit.java failing on 8 and 7u2
Reviewed-by: chegar, alanb
This commit is contained in:
parent
5b7643e258
commit
b88865d91f
@ -68,7 +68,12 @@ class TwoStacksPlainDatagramSocketImpl extends AbstractPlainDatagramSocketImpl
|
||||
|
||||
protected synchronized void create() throws SocketException {
|
||||
fd1 = new FileDescriptor();
|
||||
super.create();
|
||||
try {
|
||||
super.create();
|
||||
} catch (IOException e) {
|
||||
fd1 = null;
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
protected synchronized void bind(int lport, InetAddress laddr)
|
||||
|
Loading…
Reference in New Issue
Block a user