BS-11777, fix javadoc for java 8