On Mon, 15 Mar 2021 13:49:56 GMT, Pavel Rappo <pra...@openjdk.org> wrote:

>> yes,
>> javac should emit a warning in that case, that also the answer of Brian.
>> 
>> https://mail.openjdk.java.net/pipermail/amber-spec-experts/2021-March/002925.html
>
> Then we should use an unbounded wildcard here and in similar places to avoid 
> "rawtype" warnings in the future.

I've added the wildcard to the pattern variable check now. See b89027c

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

PR: https://git.openjdk.java.net/jdk/pull/2913

Reply via email to