[code-reflection] Integrated: Update ReflectMethods.BodyScanner.coerce to handle null targetType
Mourad Abbay
mabbay at openjdk.org
Thu Sep 4 15:29:57 UTC 2025
On Fri, 29 Aug 2025 23:39:40 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:
> `ReflectMethods.BodyScanner.coerce` wasn't handling `null` targetType. For example, a `null` targetType may propagate to reach the method `coerce` when visiting case body of switch statement.
This pull request has now been integrated.
Changeset: 429eb174
Author: Mourad Abbay <mabbay at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/429eb17462edf9d11d75dd14dc5ffea6a5e5b7c0
Stats: 39 lines in 2 files changed: 29 ins; 7 del; 3 mod
Update ReflectMethods.BodyScanner.coerce to handle null targetType
Reviewed-by: mcimadamore
-------------
PR: https://git.openjdk.org/babylon/pull/536
More information about the babylon-dev
mailing list