Broken synchronization for event handling in ClientPooledConnection40
---------------------------------------------------------------------

                 Key: DERBY-3308
                 URL: https://issues.apache.org/jira/browse/DERBY-3308
             Project: Derby
          Issue Type: Bug
          Components: JDBC
    Affects Versions: 10.3.2.1, 10.2.2.0, 10.4.0.0
            Reporter: Kristian Waagan
            Assignee: Kristian Waagan
            Priority: Minor


Access to the the list of event listeners is not synchronized properly.

Taken the rather infrequent use of the relevant methods and the small critical 
sections, I mean it is sufficient to add synchronization to all the methods 
that access it at the method level. The same approach is taken in 
ClientPooledConnection (although not followed through consistently, some of the 
methods are unsynchronized).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to