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

Reply via email to