Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8323

Use the JDK-provided JavaCompiler API instead of the Eclipse one

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Commons Compiler 2.5.0
    • Commons
    • None

    Description

      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 API allows programmatic access to the system java compiler. We should instead try and use this compiler.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: