Fix jdk6