fix: compile with jdk6