comply with jdk 8 javadoc strictness