Fix Javadoc errors on Java 8.