[code-reflection] Integrated: Null check only when selector expression of switch expression is of reference type

Mourad Abbay mabbay at openjdk.org
Wed Jun 5 22:53:07 UTC 2024


On Tue, 4 Jun 2024 18:56:30 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:

> Generate lowered form of switch expression that check if the selector expression is null only when the selector expression has type reference.

This pull request has now been integrated.

Changeset: edadd526
Author:    Mourad Abbay <mabbay at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/edadd5261cf5a98318d4a8038c7336554faea5bc
Stats:     29 lines in 2 files changed: 18 ins; 8 del; 3 mod

Null check only when selector expression of switch expression is of reference type

Reviewed-by: psandoz

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

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


More information about the babylon-dev mailing list