[code-reflection] RFR: Fix lambda bugs [v3]

Mourad Abbay mabbay at openjdk.org
Mon Aug 25 11:28:24 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 incrementally with two additional commits since the last revision:

 - Fix bug 2
 - Fix the bug of lambda model containing ReturnOp with value even though the lambda return type is void

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/532/files
  - new: https://git.openjdk.org/babylon/pull/532/files/9c7b1108..4cbb2bb5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=532&range=02
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=532&range=01-02

  Stats: 7 lines in 1 file changed: 4 ins; 0 del; 3 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