some jdk8 test code