Fix documentation errors on jdk8

Originally this PR was to address jdk7 issues, but the javadoc errors only occur when building for jdk8. It's still worth fixing these errors as they are mistakes in HTML markup.