Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6326

JcrInstaller.counters should be accessed in a thread-safe manner

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • JCR Installer 3.1.22
    • Installer
    • None

    Description

      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.

      Attachments

        Activity

          People

            rombert Robert Munteanu
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: