Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-677

Synchronization bug in EventLogCleanupModule

    XMLWordPrintable

Details

    Description

      The EventLogCleanupJob.execute() method synchronizes on a static (non-final) Boolean object, and within the synchronized block actually changes the value of this pointer to a different Boolean, using auto-boxing. So the next thread coming will synchronize on a different object, and in effect no synchronization is achieved.

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            tgountchev Tomislav Gountchev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: