test jdk 7 new features