JorrenH opened a new pull request, #2939:
URL: https://github.com/apache/tomee/pull/2939

   See Jira ticket for full context.
   
   In summary:
   * HashMap#putAll on a synchronizedMap is *not* thread-safe. It will access 
`.entrySet().iterator()` internally, allowing it to cause a 
`ConcurrentModificationException`.
   * This PR simply synchronizes on the data so the iterator call remains safe.
   
   *Note*: ConcurrentHashMap does not work here because it does not allow 
`null` values.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to