[code-reflection] RFR: Add isQuotable attribute to LambdaOp [v2]
Paul Sandoz
psandoz at openjdk.org
Wed Sep 3 21:43:51 UTC 2025
On Wed, 3 Sep 2025 21:03:07 GMT, Rémi Forax <forax at openjdk.org> wrote:
>> We should be able to use preview features as the `jdk.incubator.code` module is annotated with `@ParticipatesInPreview`, unless there is some odd restriction when javac calls code in the incubating module?
>
> Paul, there is no real difference at runtime betwen case Boolean and case boolean when you switch on an Object, case boolean just bloat the bytecode a little more.
I was thinking more subjectively, more clearly indicating the pattern variable cannot be null (i realize the `case null, default` is also present).
-------------
PR Review Comment: https://git.openjdk.org/babylon/pull/545#discussion_r2320290785
More information about the babylon-dev
mailing list