]
Brian Stansberry updated JBAS-2225:
-----------------------------------
Comment: was deleted
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: