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

Vicente Romero vromero at openjdk.org
Fri Jul 19 17:07:43 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

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

Commit messages:
 - 8332850: javac crashes if container for repeatable annotation is not found

Changes: https://git.openjdk.org/jdk/pull/20260/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20260&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8332850
  Stats: 102 lines in 2 files changed: 101 ins; 0 del; 1 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