Showcasing a bug in java 8