markfisher/spring-integration — comment on commit afa4b3b90a679709a34c3dc17933ebf9ab918b58
File: spring-integration-core/src/main/java/org/springframework/integration/transformer/ContentEnricher.java line 124
By olegz:

The state of the 'this.propertyExpressions' map can change while you are iterating through it via setPropertyExpressions() method. For example the actual value of the Entry can change between the calls to entry.getKey() and entry.getValue(); May be its OK, but may be we should consider synchronizing the loop or create an immutable copy of the entrySet before iterating