RFR: 8361445: javac crashes on unresolvable constant in @SuppressWarnings [v2]

Jan Lahoda jlahoda at openjdk.org
Tue Jul 8 07:13:22 UTC 2025


On Mon, 7 Jul 2025 21:58:55 GMT, ExE Boss <duke at openjdk.org> wrote:

>> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Adding a more complex test ensuring incompatible types don't cause javac crashes.
>
> test/langtools/tools/javac/recovery/AnnotationRecovery.java line 178:
> 
>> 176:             "Test.CHAR",
>> 177:             "Test.class",
>> 178:             "@Deprecated"
> 
> Missing enum constant test case:
> Suggestion:
> 
>             "E.A",
>             "@Deprecated",

Oops, thanks, fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26142#discussion_r2191670190


More information about the compiler-dev mailing list