commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emopers <>
Subject [GitHub] commons-validator pull request: Field does not synchronize iterati...
Date Mon, 28 Dec 2015 04:38:41 GMT
GitHub user emopers opened a pull request:

    Field does not synchronize iteration on synchronized list

    In, the synchronized list `dependencyList` is iterated in an unsynchronized
    but according to the [Oracle Java 7 API specification](,
    this is not thread-safe and can lead to non-deterministic behavior. 
    This pull request adds a fix by synchronizing the iteration.

You can merge this pull request into a Git repository by running:

    $ git pull rand_coll_71

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4
commit 38e284536e31fff856809878222817ddc7879536
Author: emopers <>
Date:   2015-12-27T10:26:45Z

    Added synchronized when iterating over synchronizedList as per Java specification


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message