Fixed Java 8 related javadoc errors