jdk8 features test