Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8005094

The plugin code in javac.main.Main should be invoked from JavacTaskImpl.prepareCompiler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8
    • tools
    • None
    • Fix Understood

      Currently, plugin support (and upcoming doclint support) are only invoked during a full compilation, either from the command line or via the JSR 199 call/run methods. They are not run if the user downcasts CompilationTask to a JavacTask and calls parse/analyze/generate directly.

      This is not a huge deal since anyone running the API at that level has access to registering task listeners directly, but it would be nice to provide uniformity.

            Unassigned Unassigned
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: