You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2013/01/24 08:21:12 UTC
[jira] [Resolved] (OWB-767) DefaultBDABeansXmlScanner synchronizes
without visibility guarantees
[ https://issues.apache.org/jira/browse/OWB-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved OWB-767.
-------------------------------
Resolution: Fixed
> DefaultBDABeansXmlScanner synchronizes without visibility guarantees
> --------------------------------------------------------------------
>
> Key: OWB-767
> URL: https://issues.apache.org/jira/browse/OWB-767
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.0
> Reporter: Mark Struberg
> Fix For: 1.2.0
>
>
> DefaultBDABeansXmlScanner synchronizes on a few maps which are neither final nor synchronized.
> Thus visibility is not guaranteed and Sonar warns that the sync block might be useless.
> In fact we can easily declare those variables final as the references do not change.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira