[jboss-jira] [JBoss JIRA] (JBJCA-744) ConnectionEventListener list should be synchronized

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Fri Feb 10 11:50:49 EST 2012


Jesper Pedersen created JBJCA-744:
-------------------------------------

             Summary: ConnectionEventListener list should be synchronized
                 Key: JBJCA-744
                 URL: https://issues.jboss.org/browse/JBJCA-744
             Project: IronJacamar
          Issue Type: Bug
          Components: Code Generator
    Affects Versions: 1.1.0.Alpha5, 1.0.7.Final
            Reporter: Jesper Pedersen
            Assignee: Jeff Zhang
             Fix For: 1.1.0.Alpha6


The 

 this.listeners = new ArrayList<ConnectionEventListener>(1);

in the generated ManagedConnection should be

 this.listeners = Collections.synchronizedList(new ArrayList<ConnectionEventListener>(1));

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list