[jboss-jira] [JBoss JIRA] Assigned: (JBAS-2225) FCI.getTargets() should be Immutable

Ben Wang (JIRA) jira-events at jboss.com
Tue Jul 25 22:09:11 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-2225?page=all ]

Ben Wang reassigned JBAS-2225:
------------------------------

    Assignee: Brian Stansberry  (was: Ben Wang)

> FCI.getTargets() should be Immutable
> ------------------------------------
>
>                 Key: JBAS-2225
>                 URL: http://jira.jboss.com/jira/browse/JBAS-2225
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>    Affects Versions:  JBossAS-4.0.3RC2
>            Reporter: Adrian Brock
>         Assigned To: Brian Stansberry
>             Fix For: JBossAS-4.0.5.CR1
>
>
> The targets returned from the FamilyClusterInfoImpl.getTargets() should not be modified,
> otherwise you can cause ConcurrentModificationException.
> To better trap people introducing errors in this area, make a subclass of ArrayList
> called ImmutableArrayList and return an implementation of this class from getTargets.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list