fix jdk6