[
https://issues.jboss.org/browse/WFCORE-3948?page=com.atlassian.jira.plugi...
]
Brian Stansberry commented on WFCORE-3948:
------------------------------------------
[~swd847] This seems like a general problem with AttachmentList. Unless AttachmentList was
made thread-safe most any use of Attachable.getAttachmentList would need to synchronize on
the returned object before reading, particularly iterating.
Was there something particular about this use case that made it stand out?
Potential race condition on deployment of EAR when Class-Path
manifest entry is in use
--------------------------------------------------------------------------------------
Key: WFCORE-3948
URL:
https://issues.jboss.org/browse/WFCORE-3948
Project: WildFly Core
Issue Type: Bug
Components: Server
Reporter: Stuart Douglas
Priority: Major
Attachments#ADDITIONAL_MODULES is attached to the top level DU, but modified by sub
deployments in ManifestClassPathProcessor#createAdditionalModule without any sort of
synchronisation. This can result in ConcurrentModificationException when the list is
read/written to by other sub deployments at the same time.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)