On Thu, 3 Sep 2026 09:46:24 GMT, Johan Sjölen <[email protected]> wrote:
> Hi, > > In this PR we enhance `newSpecialArray` to be able to return a nullable > atomic flat when receiving a request for a nullable non-atomic flat, when > such a layout is supported. This fixes the issue with `VarHandle` CAS failing > as in the test added. > > Testing, other than the added one: Tier 1-2 > > --------- > - [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: 13cea82b Author: Johan Sjölen <[email protected]> URL: https://git.openjdk.org/jdk/commit/13cea82b26e2929a5f36c7cb2b5619fe58fb1f93 Stats: 68 lines in 3 files changed: 65 ins; 0 del; 3 mod 8391651: VarHandle CAS on flattened nullable empty-value field throws IllegalArgumentException Reviewed-by: fparain, cnorrbin ------------- PR: https://git.openjdk.org/jdk/pull/32674
