Follow-up fix on the recent commit: https://github.com/spring-projects/spring-framework/commit/4fc41e Issue: SPR-15543