RFR: JDK-8283661: Unexpected TypeElement in ANALYZE TaskEvent

Jonathan Gibbons jjg at openjdk.java.net
Fri Mar 25 21:20:52 UTC 2022


On Fri, 25 Mar 2022 21:14:36 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

>> test/langtools/tools/javac/api/taskListeners/TestTypeElement.java line 72:
>> 
>>> 70:             @Override
>>> 71:             public void started(TaskEvent e) {
>>> 72:                 log.println("started: " + e);
>> 
>> you don't seem to be processing this output later on, I guess it could be removed, unless you want to keep it for debug reasons
>
> yeah, it's helpful to have the printed information in case things go wrong.

Yeah, it is a convenient way of displaying the problems, if any.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7949


More information about the compiler-dev mailing list