[code-reflection] RFR: Catching and logging exceptions from BodyScanner::scanLambda when reflectAll enabled
Adam Sotona
asotona at openjdk.org
Thu Jan 15 09:27:32 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
-------------
Commit messages:
- Catching and logging exceptions from BodyScanner::scanLambda when reflectAll enabled
Changes: https://git.openjdk.org/babylon/pull/846/files
Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=846&range=00
Stats: 28 lines in 2 files changed: 14 ins; 0 del; 14 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