See https://github.com/spring-projects/spring-boot/pull/42971#issuecomment-2454675889 for background.