[code-reflection] RFR: Add isQuotable attribute to LambdaOp [v2]

Chen Liang liach at openjdk.org
Wed Sep 3 22:53:49 UTC 2025


On Wed, 3 Sep 2025 21:52:34 GMT, Rémi Forax <forax at openjdk.org> wrote:

>> I was thinking more subjectively, more clearly indicating the pattern variable cannot be null (i realize the `case null, default` is also present).
>
> Conceptually, a case Foo is like an instanceof Foo, it does not match null.

I recall `@ParticipatesInPreview` only works for preview APIs instead of language features that ClassFile API needed custom backdoors from the JDK. See https://bugs.openjdk.org/browse/JDK-8308093.

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

PR Review Comment: https://git.openjdk.org/babylon/pull/545#discussion_r2320412584


More information about the babylon-dev mailing list