Skip to content

Prevent stack overflow when reseting values to default - #1751

Merged
ryanjbaxter merged 1 commit into
spring-cloud:5.0.xfrom
ryanjbaxter:reset-stackoverflow
Sep 30, 2026
Merged

ryanjbaxter merged 1 commit into
spring-cloud:5.0.xfrom
ryanjbaxter:reset-stackoverflow

Conversation

@ryanjbaxter

Copy link
Copy Markdown
Contributor

Improvements to reset to defaults logic.

Prevent stack overflow when resetting creates new objects.

When Maps and Collections throw exceptions log them as warnings.

Do not reset values that have not changed.

Fixes #1750

…ecessary

Improvements to reset to defaults logic.

Prevent stack overflow when resetting creates new objects.

When Maps and Collections throw exceptions log them as warnings.

Do not reset values that have not changed.
@ryanjbaxter
ryanjbaxter merged commit f63183d into spring-cloud:5.0.x Sep 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ConfigurationPropertiesRebinder.resetProperties: StackOverflowError and silently skipped resets (e.g. Infinispan)

3 participants