Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352188

Summary: jetty-websocket / TestClient
Product: [RT] Jetty Reporter: janbo999 <janbo999>
Component: otherAssignee: Michael Gorovoy <mgorovoy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox, mgorovoy
Version: 8.0.0   
Target Milestone: 7.5.x   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description janbo999 CLA 2011-07-15 05:14:01 EDT
there is a wrong code in jetty-websocket, TestClient, main():

   ............
   else if (("-h".equals(a)) || ("--host".equals(a)))
      port = Integer.parseInt(args[(++i)]);
   ............

i.e. --host can't be used.

must be:
   ..............
   else if (("-h".equals(a)) || ("--host".equals(a)))
      host = args[(++i)];
   ..............
Comment 1 Michael Gorovoy CLA 2011-08-29 14:15:34 EDT
Good catch! Fix committed to master for 7.5.0 release, and will be merged into 8.0.0 before the next release.