See https://github.com/spring-projects/spring-boot/pull/20709#issuecomment-605461762