Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362074 - [ecf.generic] TCPServerSOContainer constructor ignores given TCPServerSOContainerGroup argument
Summary: [ecf.generic] TCPServerSOContainer constructor ignores given TCPServerSOConta...
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.providers (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.5.3   Edit
Assignee: Scott Lewis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 10:06 EDT by Franky Bridelance CLA
Modified: 2011-10-26 20:10 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.