only test on jdk7