test/jdk/java/net/httpclient/websocket/DummyWebSocketServer.java
branchhttp-client-branch
changeset 56498 0908e8e61f9c
parent 56451 9585061fdb04
child 56507 2294c51eae30
equal deleted inserted replaced
56497:598e0c5b6f8c 56498:0908e8e61f9c
   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