Fix javadoc errors for java 8 (hopefully)