Fix javadoc errors for java8

This fixes javadoc errors when running `mvn site` under java 8