forked from spring-projects/spring-framework
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MutablePropertySources threading issues
Replace the `CopyOnWriteArrayList` in `MutablePropertySources` with a direct array implementation that we can lock during operations. Prior to this commit it was possible that the underlying list would be updated in the middle of certain operations. Closes spring-projectsgh-25369
- Loading branch information
Showing
2 changed files
with
167 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters