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

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

    XMLWordPrintable

Details

    • Bug
    • Status: In Progress
    • P4
    • Resolution: Unresolved
    • 8
    • tbd_minor
    • tools
    • None
    • Fix Understood

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: