http-client-branch: do not ignore setup exceptions when creating WS test server http-client-branch
authorchegar
Fri, 27 Apr 2018 15:23:33 +0100
branchhttp-client-branch
changeset 56498 0908e8e61f9c
parent 56497 598e0c5b6f8c
child 56499 affcd56de28a
http-client-branch: do not ignore setup exceptions when creating WS test server
test/jdk/java/net/httpclient/websocket/DummyWebSocketServer.java
--- a/test/jdk/java/net/httpclient/websocket/DummyWebSocketServer.java	Fri Apr 27 12:29:49 2018 +0100
+++ b/test/jdk/java/net/httpclient/websocket/DummyWebSocketServer.java	Fri Apr 27 15:23:33 2018 +0100
@@ -200,6 +200,7 @@
             thread.start();
         } catch (IOException e) {
             close(ssc);
+            throw e;
         }
         err.println("Started at: " + getURI());
     }