You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ian Boston (JIRA)" <ji...@apache.org> on 2013/02/26 04:08:12 UTC

[jira] [Resolved] (SLING-2750) Commons testing has some multithreaded issues

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

Ian Boston resolved SLING-2750.
-------------------------------

    Resolution: Fixed

fixed by moving the null checks inside the sync block.
see http://en.wikipedia.org/wiki/Double-checked_locking for an explanation.
Might consider changing to the safe, efficient version if possible.
                
> Commons testing has some multithreaded issues
> ---------------------------------------------
>
>                 Key: SLING-2750
>                 URL: https://issues.apache.org/jira/browse/SLING-2750
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: Commons Testing 2.0.14
>            Reporter: Ian Boston
>            Assignee: Ian Boston
>             Fix For: Commons Testing 2.0.16
>
>
> Cloned from SLING-2746,
> Issues in commons testing that were in the patch for that issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira