Backport of gh-8525

Comment From: spring-projects-issues

Fixed via 04453cec967b072920832fd32c2afa35446155ca

Comment From: eleftherias

This issue was created from a typo in a commit message. Please ignore.