On Mon, 15 Mar 2021 10:47:10 GMT, Rémi Forax <github.com+828220+fo...@openjdk.org> wrote:
> I think it's a bug in javac, it should not even raise a warning but an error. > But the spec is not fully clear. If you think that it's a bug, consider providing feedback to authors of JEP 394: > Other refinements may be incorporated based on further feedback. I find it hard to believe that authors didn't consider generic use case (even though JEP 394 doesn't have examples of that). ------------- PR: https://git.openjdk.java.net/jdk/pull/2913