Hi all,

I've rebased the javax.tools JSP compiler on top of the current master
branch :

  https://github.com/ebourg/tomcat/tree/jasper-javax-tools-support

Please let me know how you feel about this stuff and if it's worth merging.

Emmanuel Bourg


Le 09/04/2018 à 17:28, Emmanuel Bourg a écrit :
> 
> I've just completed an initial implementation:
> 
>   https://github.com/ebourg/tomcat/commit/1272a1b
> 
> I tested with Java 8 and 10 on Windows and it worked fine with the JSP
> examples shipped with Tomcat. It allowed me to use the new 'var' syntax
> with Java 10.
> 
> Unlike ECJ the javax.tools API cannot take an existing ClassLoader but
> expects a list of files. So it is probably slower, and I guess it
> doesn't support non unpacked war files. The javax.tools API also
> requires the JDK (the JRE has the API but not the underlying
> implementation).
> 
> So this compiler is quite equivalent to the Ant based compiler, but at
> least it doesn't require an additional jar.
> 
> Emmanuel Bourg
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to