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

Bug 348890

Summary: Remote tools connection fails if hostname ends with whitespace
Product: [Tools] PTP Reporter: Greg Watson <g.watson>
Component: Remote ToolsAssignee: Greg Watson <g.watson>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 5.0   
Target Milestone: 5.0   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Greg Watson CLA 2011-06-09 09:21:58 EDT
If the hostname specified in a remote tools connection ends with whitespace, the connection fails with the following message:

	Session.connect: java.io.InterruptedIOException: A timeout occurred connecting to host <host_name>.
Comment 1 Greg Watson CLA 2011-06-09 11:42:15 EDT
Hostname with whitespace was beeing passed to jsch. Added trim() to all getString() methods.

Fixed in HEAD.