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/25 04:52:12 UTC

[jira] [Resolved] (SLING-2744) AbderaActivator uses invalid double check pattern

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

Ian Boston resolved SLING-2744.
-------------------------------

       Resolution: Fixed
    Fix Version/s: Scripting JSP-Atom-Taglib 1.0.0

Fixed issue. The unused fields has been left since its lower priority and may impact other things.
                
> AbderaActivator uses invalid double check pattern
> -------------------------------------------------
>
>                 Key: SLING-2744
>                 URL: https://issues.apache.org/jira/browse/SLING-2744
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting JSP-Atom-Taglib 1.0.0
>            Reporter: Ian Boston
>             Fix For: Scripting JSP-Atom-Taglib 1.0.0
>
>
> There is a if ( x == null); syncronized(lock) {; if (x == null ) check which violates Java memory model.
> see: http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html

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