fixed doclint only performing on jdk8 and later