Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8483

Coverity static analysis: Synchronization on java.util.concurrent object in ElytronPolicyConfigurationFactory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 7.1.0.DR11
    • Security
    • See ELY-956

      Coverity static-analysis scan found a synchronization on java.util.concurrent.ConcurrentHashMap object in:

      • ElytronPolicyConfigurationFactory.getPolicyConfiguration
      • ElytronPolicyConfigurationFactory.inService

      If policyConfiguration synchronization is concern, it should be enough to synchronize on policyConfiguration object.

      https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=8490244&defectInstanceId=2123208&mergedDefectId=1377483
      https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=8490244&defectInstanceId=2123209&mergedDefectId=1377485

              rhn-support-ivassile Ilia Vassilev
              mchoma@redhat.com Martin Choma
              Martin Choma Martin Choma
              Martin Choma Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: