Repro for gh-1573

Bug report: https://github.com/spring-projects/spring-boot/issues/1573

Two examples for two flavours of the same problem - I hope that's OK to store them like this.