On Tue, 8 Sep 2026 20:21:44 GMT, Chen Liang <[email protected]> wrote:

> Currently, the CAS operations of field instance/static var handles for 
> null-restricted fields are failing with NPE because the type check includes a 
> null check. Only perform the class check for these handles for the expected 
> argument. ArrayVarHandle is already performing the right checks.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

LGTM

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

Marked as reviewed by dsimms (Author).

PR Review: https://git.openjdk.org/jdk/pull/32772#pullrequestreview-5532653261

Reply via email to