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:11:13 UTC

[jira] [Created] (OWB-767) DefaultBDABeansXmlScanner synchronizes without visibility guarantees

Mark Struberg created OWB-767:
---------------------------------

             Summary: 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