Bug#884187: ant: please ask javadoc to ignore source errors on Java9+
Chris West
debian at fau.xxx
Tue Dec 12 13:23:50 UTC 2017
Package: ant
Version: 1.9.9-5
Severity: wishlist
User: debian-java at lists.debian.org
Usertags: default-java9
ant is upgrading the -source and -target options passed to javac and
javadoc such that they are a minimum of 1.6, to fix projects compiling
with Java 9.
However, javadoc in Java 9 has become more picky, and requires there to
be no source errors (including the classpath being correct), by default.
There is a (hidden) option in Java 9 (and currently in 10) to disable
this behaviour and revert to the Java 8 behaviour of just warning:
--ignore-source-errors.
Please make ant apply this option during a Debian build.
Chris.
More information about the pkg-java-maintainers
mailing list