See #41551

Comment From: snicoll

Fixed by https://github.com/spring-projects/spring-boot/commit/f11dc544b6f5a1c991ff3da8cab3edca7e92ed7d