RFR: JDK-8217381: Inconvenient errors reported when annotation processor generates source file and errors in the same round

Jan Lahoda jan.lahoda at oracle.com
Tue Jan 22 13:43:18 UTC 2019


Hi,

When an annotation processor generates a source and an error in the same 
round, javac (may) print errors saying it cannot find the types from the 
generated source.

The proposal here is to improve the errors by deferring recoverable 
error until the newly generated source is analyzed.

JBS: https://bugs.openjdk.java.net/browse/JDK-8217381
Webrev: http://cr.openjdk.java.net/~jlahoda/8217381/webrev.00/

How does this look?

Thanks,
     Jan


More information about the compiler-dev mailing list