You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mathieu Lirzin (JIRA)" <ji...@apache.org> on 2019/07/20 18:52:00 UTC
[jira] [Closed] (OFBIZ-11004) Add missing ‘synchronized’ modifier
[ https://issues.apache.org/jira/browse/OFBIZ-11004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mathieu Lirzin closed OFBIZ-11004.
----------------------------------
> 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: Release Branch 16.11, 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
(v7.6.14#76016)