Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2032

FactoryUtil.getSingleton should be synchronized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.5.4
    • 3.5.3
    • core
    • None

      In 3.0 we used the commons discovery which takes care about synchronization. For being on the save side we have to synchronize this method.

      First I tried to solve it with a so called double-checked locking. Thanks you Jan he advised me to read http://www.ibm.com/developerworks/library/j-dcl.html

        Acceptance criteria

              pbaerfuss Philipp Bärfuss
              pbaerfuss Philipp Bärfuss
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD