Java 7 test