[code-reflection] RFR: Update ReflectMethods.BodyScanner.coerce to handle null targetType [v3]

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Sep 4 11:49:57 UTC 2025


On Wed, 3 Sep 2025 13:49:07 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.
>
> Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Apply suggestions

Thanks!

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

Marked as reviewed by mcimadamore (Reviewer).

PR Review: https://git.openjdk.org/babylon/pull/536#pullrequestreview-3184792151


More information about the babylon-dev mailing list