RFR: 8309499: javac fails to report compiler.err.no.java.lang with annotation processing enabled [v2]
Liam Miller-Cushon
cushon at openjdk.org
Wed Jun 14 15:22:05 UTC 2023
On Mon, 12 Jun 2023 17:56:36 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:
> One option would be to set `deferredDiagnosticHandler` to `null` after calling `reportDeferredDiagnostics` in `JavaCompiler`, so we can keep track of whether the deferred diagnostics have already been reported
Paula had a better suggestion of moving the new logic to the `Abort` handler, which ensures it's only called once and fixes the test regressions.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14370#discussion_r1229793706
More information about the compiler-dev
mailing list