[JAVA-1391/2/3] Fixed Javadoc so it builds under Java 8.