You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "Peter Firmstone (JIRA)" <ji...@apache.org> on 2015/12/04 12:45:10 UTC

[jira] [Resolved] (RIVER-418) Service server implementations start threads before construction is complete allow "this" to escape

     [ https://issues.apache.org/jira/browse/RIVER-418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Firmstone resolved RIVER-418.
-----------------------------------
    Resolution: Fixed

Services can implement org.apache.river.api.util.Startable to export and start threads after construction completes.

> Service server implementations start threads before construction is complete allow "this" to escape
> ---------------------------------------------------------------------------------------------------
>
>                 Key: RIVER-418
>                 URL: https://issues.apache.org/jira/browse/RIVER-418
>             Project: River
>          Issue Type: Bug
>          Components: com_sun_jini_start
>    Affects Versions: River_2.2.0
>            Reporter: Peter Firmstone
>             Fix For: River_3.0.0
>
>   Original Estimate: 40h
>  Remaining Estimate: 40h
>
> Service server implementations need an additional common interface method to delay starting of internal threads until construction of the actual service implementation is complete, required to prevent it being published to other threads in an incomplete state.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)