commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (VALIDATOR-434) Field does not synchronize iteration on synchronized list
Date Tue, 21 Nov 2017 09:52:00 GMT

     [ 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)

Mime
View raw message