| Summary: | PrintStackTrace call in PortRangeSocketFactory (Jacorb 3.6) | ||
|---|---|---|---|
| Product: | JacORB | Reporter: | david.shay |
| Component: | ORB | Assignee: | Mailinglist to track bugs <jacorb-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jacorb |
| Priority: | P5 | ||
| Version: | 3.5 | ||
| Hardware: | PC | ||
| OS: | Windows NT | ||
Fixed by 7c5b142e7a366c6ed46bfe018b71f93140712845 |
In Jacorb 3.6, in class PortRangeSocketFactory, there remains a call to the printStackTrace method which floods our console with exceptions in cases we hit a firewall or a server did not start. See line 177 in method doCreateSocket: catch (IOException ex) { ==> ex.printStackTrace(); tryToClose(socket); if (useTimeout && System.currentTimeMillis() > expireTime) { throw new TIMEOUT("couldn't open socket within " + timeout + ". Last exception details: " + ex.toString()); } } This call should be removed.