RFR: 8305971: NPE in JavacProcessingEnvironment for missing enum constructor body [v2]
Joe Darcy
darcy at openjdk.org
Sat Oct 7 16:32:10 UTC 2023
On Fri, 29 Sep 2023 18:53:54 GMT, Vicente Romero <vromero at openjdk.org> wrote:
>> Please review this simple fix that is averting a NPE in JavacProcessingEnvironment if a an annotation processor is used while compiling this erroneous code:
>>
>>
>> enum T {
>> ONE("");
>>
>> T(String one); // missing constructor body
>>
>> final String one;
>> }
>>
>> the fix is a one liner
>> TIA
>
> Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:
>
> addressing review comments
Marked as reviewed by darcy (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/15974#pullrequestreview-1663074693
More information about the compiler-dev
mailing list