Java 7 compliance