On Thu, 2 Jul 2026 13:55:09 GMT, Tobias Hartmann <[email protected]> wrote:

> C2’s Unsafe.get/putFlatValue intrinsic asserts because it does not expect the 
> layout `LayoutKind::NULLABLE_NON_ATOMIC_FLAT` added by 
> [JDK-8374800](https://bugs.openjdk.org/browse/JDK-8374800). I just fixed the 
> assert because the implementation already handles the layout correctly.
> 
> 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: 3e633279
Author:    Tobias Hartmann <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/3e6332796195b70686ef7d631445a283308aa5b3
Stats:     74 lines in 3 files changed: 71 ins; 2 del; 1 mod

8386499: [lworld] java/util/Arrays/ArraysEqCmpTest.java fails with unexpected 
layoutKind 5

Reviewed-by: chagedorn

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

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

Reply via email to