RFR: 8302344: Compiler Implementation for Unnamed patterns and variables (Preview) [v13]

Aggelos Biboudis abimpoudis at openjdk.org
Fri May 5 08:44:23 UTC 2023


On Thu, 4 May 2023 20:04:49 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> Aggelos Biboudis has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add test
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacElements.java line 88:
> 
>> 86:  * or deletion without notice.</b></p>
>> 87:  */
>> 88: @SuppressWarnings("preview")
> 
> isn't it better to apply the annotation to the method below?

Yeap, this is what I thought at first but I was getting  "warnings found and -Werror specified". So compilation was failing.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13528#discussion_r1185840546


More information about the compiler-dev mailing list