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

javac Plugin to receive notification (before and) after the compilation.

XMLWordPrintable

    • b19
    • Verified

      TaskEvent.Kind does not currently have a kind for the entire compilation. In the context of a TaskListener being provided by using the compiler API, there was no need, because it was trivial to have control before and after the call to the compiler.

      Now that listeners can be registered via the plugin mechanism, there is no easy way to be notified when the compilation is complete. We should add TaskEvent.Kind.COMPILATION, such that it is invoked before and after the compilation, as embodied by the work in com.sun.tools.javac.main.JavaCompiler.

            jlahoda Jan Lahoda
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: