fixed Java 8 issues with doclint throwing errors