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

Mourad Abbay mabbay at openjdk.org
Tue Aug 26 06:18:13 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 cases to ensure bug 2 is fixed

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

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

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

  Stats: 30 lines in 1 file changed: 30 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