[ 
https://issues.apache.org/jira/browse/SLING-8323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Radu Cotescu updated SLING-8323:
--------------------------------
    Fix Version/s:     (was: Commons Compiler 2.3.8)
                   Commons Compiler 2.5.0

> Use the JDK-provided JavaCompiler API instead of the Eclipse one
> ----------------------------------------------------------------
>
>                 Key: SLING-8323
>                 URL: https://issues.apache.org/jira/browse/SLING-8323
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons
>            Reporter: Robert Munteanu
>            Priority: Major
>             Fix For: Commons Compiler 2.5.0
>
>
> Using the Eclipse compiler API works fine, with two minor caveats:
> - the dependency must be upgraded periodically to get support for newer Java 
> versions
> - we need to embed ecj (~2.7M)
> Since Java 7 the 
> [JavaCompiler|https://docs.oracle.com/javase/7/docs/api/javax/tools/JavaCompiler.html]
>  API allows programmatic access to the system java compiler. We should 
> instead try and use this compiler.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to