demo for jdk8-new-features