-
Enhancement
-
Resolution: Fixed
-
P4
-
8
-
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.
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.