Java 6 compat