Files
spring-boot/spring-boot-project
Phillip Webb 5695192850 Ensure descendants are always recalculated on cache refresh
Fix `SpringIterableConfigurationPropertySource` to ensure that cached
descendants are always updated on a refresh.

The cache implementation assumes that it is safe to reuse previous
`mappings` and `reverseMappings` data since it doesn't matter if
superfluous values are included. For `descendants` however, we always
want to recalculate values so that we don't get false positives.

Unfortunately, prior to this commit, we only updated the descendants
if a reverseMapping was added. The meant that on a cache refresh,
existing descendants were removed.

Fixes gh-45639
2025-05-22 10:03:52 -07:00
..
2025-04-14 16:18:50 -07:00
2025-05-21 08:41:04 +01:00
2025-05-20 17:20:47 -07:00
2025-05-20 17:20:47 -07:00