Robert Munteanu created SLING-6326:
--------------------------------------

             Summary: 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)

Reply via email to