Addresses #26222

Comment From: sbrannen

Hi @hantsy,

Thanks for submitting your first PR to the Spring Framework.

We aim to include this in 5.3.10.

Comment From: rstoyanchev

This is now merged. Thanks for your contribution!