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/11/24 16:13:58 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15693639#comment-15693639 ]
Robert Munteanu commented on SLING-6326:
----------------------------------------
Fixed in [r1771173 |https://svn.apache.org/r1771173 ]
> 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.20
>
>
> 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)