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

Add missing ‘synchronized’ modifier

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 16.11.06, 17.12.01, 18.12.01
    • framework
    • 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

            mthl Mathieu Lirzin (Inactive)
            mthl Mathieu Lirzin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: