Only test on Java 6. See java7 branch.