RFR: 8302344: Compiler Implementation for Unnamed patterns and variables (Preview) [v13]
Joe Darcy
darcy at openjdk.org
Tue May 9 02:35:32 UTC 2023
On Fri, 5 May 2023 08:57:43 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
>> Yeap, this is what I thought at first but I was getting "warnings found and -Werror specified". So compilation was failing.
>
> IIRC the error is reported on the class level (with position on the class), so suppressing the warning on the method is not sufficient. We might want to review if the warning could have a better position, but we probably should not do it under this patch.
I think the suppress warnings annotation can be deleted now that the isUnnamed method has been removed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13528#discussion_r1188055506
More information about the compiler-dev
mailing list