RFR: 8277864: Compilation error thrown while doing a boxing conversion on selector expression
Vicente Romero
vromero at openjdk.java.net
Fri Dec 3 17:32:12 UTC 2021
On Fri, 3 Dec 2021 08:31:52 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> Consider a switch whose selector type is a primitive type (e.g. an integer). This may still be a pattern matching switch, if it has a case with a pattern label. But, as the selector type is primitive, TransPatterns must not attempt to generate a null check, so this patch avoids it.
looks good
-------------
Marked as reviewed by vromero (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6695
More information about the compiler-dev
mailing list