ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (Jira)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-11004) Add missing ‘synchronized’ modifier
Date Thu, 12 Sep 2019 13:41:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-11004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacques Le Roux updated OFBIZ-11004:
------------------------------------
    Fix Version/s:     (was: Release Branch 16.11)

> Add missing ‘synchronized’ modifier
> -----------------------------------
>
>                 Key: OFBIZ-11004
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11004
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Mathieu Lirzin
>            Priority: Major
>             Fix For: Upcoming Branch, Release Branch 17.12, Release Branch 18.12
>
>         Attachments: OFBIZ-11004_Add-missing-synchronized-modifier.patch
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message