changeset 10704 | db5816a6e8c7 |
parent 5506 | 202f599c92aa |
child 10708 | f255532bf336 |
--- a/jdk/src/windows/classes/java/net/TwoStacksPlainSocketImpl.java Fri Oct 07 14:09:53 2011 +0100 +++ b/jdk/src/windows/classes/java/net/TwoStacksPlainSocketImpl.java Mon Oct 10 10:38:35 2011 +0100 @@ -81,7 +81,12 @@ */ protected synchronized void create(boolean stream) throws IOException { fd1 = new FileDescriptor(); - super.create(stream); + try { + super.create(); + } catch (IOException e) { + fd1 = null; + throw e; + } } /**