Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field does not synchronize iteration on synchronized list #4

Closed
wants to merge 1 commit into from

Conversation

emopers
Copy link

@emopers emopers commented Dec 28, 2015

In Field.java:908, the synchronized list dependencyList is iterated in an unsynchronized manner,
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.

@kinow
Copy link
Member

kinow commented Nov 18, 2017

Created placeholder ticket https://issues.apache.org/jira/browse/VALIDATOR-434

Thanks for your pull request.

@kinow
Copy link
Member

kinow commented Nov 21, 2017

Merged. GitHub automation should kick in soon and close this pull request. Thanks @emopers !

@asfgit asfgit closed this in b702664 Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants