cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wil Evers (JIRA)" <>
Subject [jira] [Created] (CXF-7184) Double checked locking in
Date Thu, 15 Dec 2016 15:51:58 GMT
Wil Evers created CXF-7184:

             Summary: Double checked locking in
                 Key: CXF-7184
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 3.1.8, 3.2.0, 3.1.10, 3.0.13
            Reporter: Wil Evers

Method createEndpointPolicyInfo() in rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/
contains a classic instance of the double checked locking pattern, which may cause an object
to become visible to a different thread in a partially initialized state.

Please see The "Double-Checked Locking is Broken" Declaration (
to understand why this happens. A quick Google search should return several possible solutions.

This message was sent by Atlassian JIRA

View raw message