Service lazy activation is not thread-safe
------------------------------------------

                 Key: QI-347
                 URL: https://ops4j1.jira.com/browse/QI-347
             Project: Qi4j
          Issue Type: Bug
            Reporter: Niclas Hedhman
            Assignee: Niclas Hedhman


In ServiceReferenceInstance the getInstance() method sets the instance field 
before it has completed the activate() method. This allows consumers in other 
threads to access the instance before it is ready.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to