Fixed javadocs issue building on JDK8