You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/12/13 06:55:49 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15054807#comment-15054807 ] 

Hudson commented on RIVER-418:
------------------------------

SUCCESS: Integrated in River-trunk-jdk7 #168 (See [https://builds.apache.org/job/River-trunk-jdk7/168/])
River-418 Mercury construction refactoring wasn't completed, this commit completes this work, note that without this commit, Mercury wasn't restored properly during construction if persistent. (peter_firmstone: [http://svn.apache.org/viewvc/?view=rev&rev=1719761])
* src/org/apache/river/mercury/MailboxImpl.java
* src/org/apache/river/mercury/MailboxImplInit.java
* src/org/apache/river/mercury/PersistentEventLog.java
* src/org/apache/river/mercury/StreamPool.java
* src/org/apache/river/mercury/TransientEventLog.java


> 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)