[code-reflection] RFR: Catching and logging exceptions from BodyScanner::scanLambda when reflectAll enabled [v2]

Adam Sotona asotona at openjdk.org
Thu Jan 15 17:21:00 UTC 2026


> [PR: Implementation of -XDreflectAll switch](https://github.com/openjdk/babylon/pull/822) wrapped `BodyScanner::scanMethod` with try/catch block and logged warnings when `reflectAll` enabled.
> This PR also wraps `BodyScanner::scanLambda` to enable `reflectAll` testing.
> 
> Please review.
> 
> Thank you,
> Adam

Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:

  reduced try blocks scope

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/846/files
  - new: https://git.openjdk.org/babylon/pull/846/files/769006ba..e4a2d711

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

  Stats: 44 lines in 1 file changed: 22 ins; 20 del; 2 mod
  Patch: https://git.openjdk.org/babylon/pull/846.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/846/head:pull/846

PR: https://git.openjdk.org/babylon/pull/846


More information about the babylon-dev mailing list