BS-11864, fix javadoc for java 8 compilation