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).

Thanks for fixing this issue. There are other problematic CastPPNodes in 
LibraryCallKit::inline_unsafe_flat_access. I think they do not result in 
assert. So, maybe they can be solved later.

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

PR Comment: https://git.openjdk.org/valhalla/pull/2425#issuecomment-4432557028

Reply via email to