RFR: 8309499: javac fails to report compiler.err.no.java.lang with annotation processing enabled

Liam Miller-Cushon cushon at openjdk.org
Wed Jun 7 21:24:58 UTC 2023


Hi,

Please consider this fix for an error handling bug in javac, which causes a deferred diagnostic to be lost when an `Abort` is thrown with annotation processing enabled. See https://bugs.openjdk.org/browse/JDK-8309499 for more details.

This fix is contributed by my colleague Paula Toth paulatoth at google.com.

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

Commit messages:
 - Fix trailing whitespace
 - 8309499: Don't swallow diagnostics with annotation processors.

Changes: https://git.openjdk.org/jdk/pull/14370/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14370&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309499
  Stats: 132 lines in 2 files changed: 132 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/14370.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14370/head:pull/14370

PR: https://git.openjdk.org/jdk/pull/14370


More information about the compiler-dev mailing list