RFR: 8303374: Implement JEP 455: Primitive Types in Patterns, instanceof, and switch (Preview) [v44]
Aggelos Biboudis
abimpoudis at openjdk.org
Thu Jan 25 11:21:13 UTC 2024
On Thu, 25 Jan 2024 10:22:52 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> see my other comment above that I think supersedes this one
>
> I see what you mean, that said, I think having some high-level checks driving low-level classfile generation is pretty standard for code generators (e.g. lambda metafactory, invoke bytecode generator, binding specializer). I agree on the fact that the lambda should probably moved onto a separate method.
Done in https://github.com/openjdk/jdk/pull/15638/commits/13bfc43654f23f842ac71c1971de32da209d64d3
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15638#discussion_r1466219133
More information about the core-libs-dev
mailing list