RFR: 8332850: javac crashes if container for repeatable annotation is not found [v2]

Vicente Romero vromero at openjdk.org
Wed Jul 24 21:30:11 UTC 2024


> javac is crashing if it can't find the container for repeatable annotations in the classpath, this is due to a `CompletionFailure` exception that is not being caught. The current fix is catching the exception and producing an error message which is what we do for similar cases,
> 
> TIA

Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:

  adding a test for type annos

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20260/files
  - new: https://git.openjdk.org/jdk/pull/20260/files/4557494c..5531ab17

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

  Stats: 50 lines in 1 file changed: 37 ins; 8 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/20260.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20260/head:pull/20260

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


More information about the compiler-dev mailing list