See https://github.com/spring-projects/spring-boot/commit/fe807d6c0ba9793e8447a8de42b7bfed12251be2#r40891661