Compiles on both JDK6 and JDK7