On Tue, 12 May 2026 13:43:01 GMT, Tobias Hartmann <[email protected]> wrote:

> Mainline fix [JDK-8373248](https://bugs.openjdk.org/browse/JDK-8373248) added 
> additional code to verify that a `CastPPNode` does not change the type and we 
> now assert when casting the value of an unsafe flat access to the proper 
> type. The `CastPP` should be replaced by a `CheckCastPP`.
> 
> Thanks,
> Tobias
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 4990f91a
Author:    Tobias Hartmann <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/4990f91ac2a698bded2313caf792b64202cd35ed
Stats:     15 lines in 3 files changed: 2 ins; 12 del; 1 mod

8382504: [lworld] TestIntrinsics.java triggers assert "must not cast to a 
different type"

Reviewed-by: mchevalier, qamai

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

PR: https://git.openjdk.org/valhalla/pull/2425

Reply via email to