make javadoc work with jdk8