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

Mourad Abbay mabbay at openjdk.org
Mon Aug 25 08:57:31 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 one additional commit since the last revision:

  Add test case to ensure bug 1 is fixed

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

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

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

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