Skip to content

MYFACES-4757: 5.0 Fix race conditions of CopyOnWriteList#1022

Open
melloware wants to merge 1 commit into
apache:mainfrom
melloware:MYFACES-50-4757
Open

MYFACES-4757: 5.0 Fix race conditions of CopyOnWriteList#1022
melloware wants to merge 1 commit into
apache:mainfrom
melloware:MYFACES-50-4757

Conversation

@melloware

Copy link
Copy Markdown
Contributor

@tandraschko smallest possible fix I could make is that that the problem is that CopyOnWriteArrayList.size() and get() are not atomic so by using the for each the collection is only grabbed once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant