[code-reflection] RFR: Add isQuotable attribute to LambdaOp [v6]
Mourad Abbay
mabbay at openjdk.org
Tue Sep 9 01:47:10 UTC 2025
> In the `interpreter` and `ByteCodeGenerator` we detect if a lambda is quotable based on its functional interface. This approach will not work if intersection type is used e.g. `Runnable r = (Runnable & Quotable) () -> {};` This PR adds a flag to LambdaOp that will be set by the `javac` for quotable lambdas.
Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:
Apply suggestion
-------------
Changes:
- all: https://git.openjdk.org/babylon/pull/545/files
- new: https://git.openjdk.org/babylon/pull/545/files/5f5dfe00..1fa78060
Webrevs:
- full: https://webrevs.openjdk.org/?repo=babylon&pr=545&range=05
- incr: https://webrevs.openjdk.org/?repo=babylon&pr=545&range=04-05
Stats: 9 lines in 1 file changed: 6 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/babylon/pull/545.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/545/head:pull/545
PR: https://git.openjdk.org/babylon/pull/545
More information about the babylon-dev
mailing list