Fix javadoc errors for building with Java SE 8