make javadocs build with java8