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

Bug 362074

Summary: [ecf.generic] TCPServerSOContainer constructor ignores given TCPServerSOContainerGroup argument
Product: [RT] ECF Reporter: Franky Bridelance <franky.bugzilla>
Component: ecf.providersAssignee: Scott Lewis <slewis>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: slewis
Version: unspecified   
Target Milestone: 3.5.3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Franky Bridelance CLA 2011-10-26 10:06:23 EDT
Build Identifier: ECF 3.5.2

In constructor TCPServerSOContainer(ISharedObjectContainer config, TCPServerSOContainerGroup grp, int keepAlive) the passed grp arg is ignored because the if statement "if (group == null)" checks on the member "group" (which is always null at construction) while the if statement should check on the argument "grp".

Reproducible: Always
Comment 1 Scott Lewis CLA 2011-10-26 20:10:27 EDT
Thanks for the report.

Fix released to master:  http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/commit/?id=802a36515ed19c09ecc09161d959a505d427a651

Resolving as fixed.