refs: https://github.com/spring-projects/spring-boot/issues/897