Re: Generating Ant javadoc with Java 9 fails

2018-01-20 Thread Gintautas Grigelionis
> > > > > inside 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 t

Re: Generating Ant javadoc with Java 9 fails

2018-01-20 Thread Stefan Bodewig
On 2018-01-20, Gintautas Grigelionis wrote: > > inside 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 >

Re: Generating Ant javadoc with Java 9 fails

2018-01-20 Thread Gintautas Grigelionis
inside 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 g

Re: Generating Ant javadoc with Java 9 fails

2018-01-20 Thread Gintautas Grigelionis
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 : > On 2018-01-20, Gintautas Grigelionis wrote: > > > The problem is that JAF is leaving JRE again for JEE (or whatever it's > > called now). Accord

Re: Generating Ant javadoc with Java 9 fails

2018-01-20 Thread Stefan Bodewig
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

Re: Generating Ant javadoc with Java 9 fails

2018-01-20 Thread Gintautas Grigelionis
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. Gintas [1] https://stackoverflow.com/questions/46493613/what-is-the-replacement-for-javax-activation-package-in-

Re: Generating Ant javadoc with Java 9 fails

2018-01-20 Thread Stefan Bodewig
On 2018-01-19, Gintautas Grigelionis wrote: > (package javax.activation is declared in module java.activation, which is > not in the module graph) Is there an option to suppress the warning? Fixing that may force us to explicitly start using module paths inside of the build file together with

Generating Ant javadoc with Java 9 fails

2018-01-19 Thread Gintautas Grigelionis
Constructing Javadoc information... ./ant/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java:35: error: package javax.activation is not visible import javax.activation.DataHandler; ^ (package javax.activation is declared in module java.activation, which is not in the mod