You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bruno P. Kinoshita (JIRA)" <ji...@apache.org> on 2017/11/21 09:52:00 UTC
[jira] [Resolved] (VALIDATOR-434) Field does not synchronize
iteration on synchronized list
[ https://issues.apache.org/jira/browse/VALIDATOR-434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno P. Kinoshita resolved VALIDATOR-434.
------------------------------------------
Resolution: Fixed
> Field does not synchronize iteration on synchronized list
> ---------------------------------------------------------
>
> Key: VALIDATOR-434
> URL: https://issues.apache.org/jira/browse/VALIDATOR-434
> Project: Commons Validator
> Issue Type: Bug
> Affects Versions: 1.6
> Reporter: Bruno P. Kinoshita
> Assignee: Bruno P. Kinoshita
> Labels: thread-safety
> Fix For: 1.7
>
>
> Place holder for https://github.com/apache/commons-validator/pull/4
> Basically, we create a synchronized list with Collections.synchronizedList. But we are not synchronizing when accessing the iterator. The API contains documentation that states that users must synchronize when iterating the list created with Collections.synchronizedList.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)