fixes javadocs issue for JDK8