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

Joe Darcy darcy at openjdk.org
Tue Jul 23 02:18:43 UTC 2024


On Fri, 19 Jul 2024 17:02:32 GMT, Vicente Romero <vromero at openjdk.org> wrote:

> 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

Looks okay; is there any additional testing or code changes that should be done for repeated type annotations?

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

Marked as reviewed by darcy (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20260#pullrequestreview-2192838855


More information about the compiler-dev mailing list