[code-reflection] RFR: Fix lambda bugs [v8]
Mourad Abbay
mabbay at openjdk.org
Fri Aug 29 21:36:15 UTC 2025
> Fix lambda bugs:
> 1. Unnecessary load of static fields accessed inside the lambda body (bug 1).
> 2. The model of a lambda expression that returns void, contains additional boxing whose result is not used (bug 2).
> 3. Inner lambda is incorrectly quoted (bug 3).
Mourad Abbay has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 10 additional commits since the last revision:
- Merge branch 'code-reflection' into lambda-bugs
- Apply review comments
- Clarify comment
- Fix bug 3
- Add test cases to ensure bug 2 is fixed
- Fix bug 2
- Fix the bug of lambda model containing ReturnOp with value even though the lambda return type is void
- Add test case to ensure bug 1 is fixed
- Merge branch 'code-reflection' into lambda-bugs
- Fix lambda bug 1
-------------
Changes:
- all: https://git.openjdk.org/babylon/pull/532/files
- new: https://git.openjdk.org/babylon/pull/532/files/23f1914c..77f2c779
Webrevs:
- full: https://webrevs.openjdk.org/?repo=babylon&pr=532&range=07
- incr: https://webrevs.openjdk.org/?repo=babylon&pr=532&range=06-07
Stats: 1577 lines in 48 files changed: 738 ins; 441 del; 398 mod
Patch: https://git.openjdk.org/babylon/pull/532.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/532/head:pull/532
PR: https://git.openjdk.org/babylon/pull/532
More information about the babylon-dev
mailing list