updated javadoc from jdk8