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:21:57 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.

Liam Miller-Cushon has updated the pull request incrementally with two additional commits since the last revision:

 - Move deferred diagnostic reporting to catch clause. Remove unnecessary
   comment.
 - Update a comment as suggested in review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14370/files
  - new: https://git.openjdk.org/jdk/pull/14370/files/03944bf4..0be60cfa

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14370&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14370&range=00-01

  Stats: 14 lines in 1 file changed: 6 ins; 7 del; 1 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