Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-11004

Add missing ‘synchronized’ modifier

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 17.12.01, 16.11.06, 18.12.01
    • Component/s: framework
    • Labels:
      None

      Description

      Overidding a synchronized method with a non-synchronized one can
      introduce potential runtime concurrency bugs. Since
      ‘ExtendedProperties#loadFromXML’ is overridding
      ‘Propertiers#loadFromXML’ which is synchronized, it is safer to mark
      it as synchonized.

        Attachments

          Activity

            People

            • Assignee:
              mthl Mathieu Lirzin
              Reporter:
              mthl Mathieu Lirzin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: