Javadoc build errors under JDK 8 #945