A demo for jdk8 new features