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

Adam Sotona asotona at openjdk.org
Thu Jan 15 18:09:33 UTC 2026


On Thu, 15 Jan 2026 09:16:40 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> [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

This pull request has now been integrated.

Changeset: 728437fb
Author:    Adam Sotona <asotona at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/728437fb7cf95fe5b1f0ca4db30e5849d85fbd69
Stats:     36 lines in 2 files changed: 24 ins; 8 del; 4 mod

Catching and logging exceptions from BodyScanner::scanLambda when reflectAll enabled

Reviewed-by: psandoz

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

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


More information about the babylon-dev mailing list