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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: JCR Installer 3.1.22
    • Component/s: Installer
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: