test/jdk/java/net/httpclient/websocket/DummyWebSocketServer.java
changeset 49944 4690a2871b44
parent 49765 ee6f7a61f3a5
child 53521 41fa3e6f2785
child 56507 2294c51eae30
equal deleted inserted replaced
49943:8e1ed2a15845 49944:4690a2871b44
   198             ssc.bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), 0));
   198             ssc.bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), 0));
   199             address = (InetSocketAddress) ssc.getLocalAddress();
   199             address = (InetSocketAddress) ssc.getLocalAddress();
   200             thread.start();
   200             thread.start();
   201         } catch (IOException e) {
   201         } catch (IOException e) {
   202             close(ssc);
   202             close(ssc);
       
   203             throw e;
   203         }
   204         }
   204         err.println("Started at: " + getURI());
   205         err.println("Started at: " + getURI());
   205     }
   206     }
   206 
   207 
   207     @Override
   208     @Override