You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2016/12/15 13:16:58 UTC

[jira] [Closed] (SLING-6326) JcrInstaller.counters should be accessed in a thread-safe manner

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

Robert Munteanu closed SLING-6326.
----------------------------------

> JcrInstaller.counters should be accessed in a thread-safe manner
> ----------------------------------------------------------------
>
>                 Key: SLING-6326
>                 URL: https://issues.apache.org/jira/browse/SLING-6326
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>             Fix For: JCR Installer 3.1.22
>
>
> The JcrInstaller.counter thread is a final long array. However, that does not ensure that changes performed are safely published. Since they are potentially accessed from multiple threads, including unit tests, this can lead to random-looking, hard-to-debug issues.



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