Fixing javadoc issues causing failed compilation with JDK 1.8