<arg line="--add-modules java.activation"/> inside <javadoc> does the trick, but then it has to be conditional for Java 9, at least until a new version of javax.mail-api that pulls in a JEE JAF implementation is available.
Should I activate an if/else namespace in the buildfile and add a new property checking for Java 9 to, say, check-javadoc? I guess something similar must be done in POMs? Gintas 2018-01-20 20:21 GMT+01:00 Gintautas Grigelionis <g.grigelio...@gmail.com>: > To pick the nit, it's an error :-( Anyway, I'll try to see what's > available for javadoc in Java 9. > > Gintas > > > 2018-01-20 19:23 GMT+01:00 Stefan Bodewig <bode...@apache.org>: > >> On 2018-01-20, Gintautas Grigelionis wrote: >> >> > The problem is that JAF is leaving JRE again for JEE (or whatever it's >> > called now). According to Stackoverflow[1], it will be gone in Java 11. >> > I'm not quite sure what solution is best. >> >> Trying to silence the warning altogether ;-) >> >> Stefan >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org >> For additional commands, e-mail: dev-h...@ant.apache.org >> >> >