This was [spotted by @bbrouwer](https://github.com/spring-projects/spring-boot/pull/8228#discussion_r101156314) while working on #8228.